Hello community,

here is the log from the commit of package avalon-framework for 
openSUSE:Factory checked in at 2017-09-15 22:32:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/avalon-framework (Old)
 and      /work/SRC/openSUSE:Factory/.avalon-framework.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "avalon-framework"

Fri Sep 15 22:32:00 2017 rev:10 rq:526330 version:4.1.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/avalon-framework/avalon-framework.changes        
2014-07-16 16:49:40.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.avalon-framework.new/avalon-framework.changes   
2017-09-15 22:32:01.457439642 +0200
@@ -1,0 +2,7 @@
+Fri Sep 15 09:30:55 UTC 2017 - fst...@suse.com
+
+- Specify java source and target level 1.6 in order to allow build
+  with jdk9
+- Clean spec file a fix rpmlint warning
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ avalon-framework.spec ++++++
--- /var/tmp/diff_new_pack.dkU9rK/_old  2017-09-15 22:32:02.793251476 +0200
+++ /var/tmp/diff_new_pack.dkU9rK/_new  2017-09-15 22:32:02.797250913 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package avalon-framework
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2000-2007, JPackage Project
 #
 # All modifications and additions to the file contributed by third parties
@@ -29,7 +29,9 @@
 Source0:        
http://archive.apache.org/dist/avalon/avalon-framework/v4.1.4/Avalon-4.1.4-src.tar.gz
 Patch1:         %{name}-target.patch
 BuildRequires:  ant
-BuildRequires:  java-devel
+BuildRequires:  avalon-logkit
+BuildRequires:  fdupes
+BuildRequires:  java-devel >= 1.6
 BuildRequires:  javapackages-tools
 BuildRequires:  junit
 BuildRequires:  log4j
@@ -78,15 +80,19 @@
 sed -i 's/\r//' docs/api/package-list
 
 %build
-export CLASSPATH=%(build-classpath avalon-logkit junit log4j junit)
-ant -Dant.build.javac.source=1.5 -Dant.build.javac.target=1.5 all
-ant -Dfailonerror=false javadocs
+ant \
+       -Dant.build.javac.source=1.6 -Dant.build.javac.target=1.6 \
+       -Djunit.jar=$(build-classpath junit) \
+       -Dlogkit.jar=$(build-classpath avalon-logkit) \
+       -Dlog4j.jar=$(build-classpath log4j) \
+       all javadocs
 
 %install
 install -d -m 755 %{buildroot}%{_javadir}
 install -d -m 755 %{buildroot}%{_javadocdir}/%{name}
 install -m 644 target/lib/%{name}.jar %{buildroot}%{_javadir}/%{name}.jar
 cp -pr target/javadocs/* %{buildroot}%{_javadocdir}/%{name}
+%fdupes -s %{buildroot}%{_javadocdir}/%{name}
 
 # compat symlinks
 install -d -m 0755 %{buildroot}/%{_javadir}/excalibur


Reply via email to