Hello community, here is the log from the commit of package objectweb-asm for openSUSE:Factory checked in at 2017-10-06 10:55:24 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/objectweb-asm (Old) and /work/SRC/openSUSE:Factory/.objectweb-asm.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "objectweb-asm" Fri Oct 6 10:55:24 2017 rev:18 rq:531066 version:3.3.1 Changes: -------- --- /work/SRC/openSUSE:Factory/objectweb-asm/objectweb-asm.changes 2017-05-31 13:29:48.807757990 +0200 +++ /work/SRC/openSUSE:Factory/.objectweb-asm.new/objectweb-asm.changes 2017-10-06 10:55:26.066060088 +0200 @@ -1,0 +2,11 @@ +Wed Oct 4 08:01:47 UTC 2017 - fst...@suse.com + +- Remove dependency on java-1_5_0-gcj-compat-devel +- Specify java source and target level 1.6 to allow building with + jdk9 +- Added patch: + * asm-3.3.1-sourcetarget.patch + + Don't hardcode the source and target levels, allow specifying + them on command-line + +------------------------------------------------------------------- New: ---- asm-3.3.1-sourcetarget.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ objectweb-asm.spec ++++++ --- /var/tmp/diff_new_pack.Fx82Uq/_old 2017-10-06 10:55:27.377861809 +0200 +++ /var/tmp/diff_new_pack.Fx82Uq/_new 2017-10-06 10:55:27.381861204 +0200 @@ -34,8 +34,9 @@ Source8: http://repo1.maven.org/maven2/asm/asm-parent/3.3.1/asm-parent-3.3.1.pom Source9: asm-MANIFEST.MF Patch0: objectweb-asm-no-classpath-in-manifest.patch +Patch1: asm-3.3.1-sourcetarget.patch BuildRequires: ant >= 1.6.5 -BuildRequires: java-1_5_0-gcj-compat-devel +BuildRequires: java-devel >= 1.6 BuildRequires: javapackages-local BuildRequires: javapackages-tools BuildRequires: objectweb-anttask @@ -60,6 +61,7 @@ %prep %setup -q -n asm-%{version} %patch0 -p1 +%patch1 -p1 perl -pi -e 's/\r$//g' LICENSE.txt README.txt mkdir META-INF cp -p %{SOURCE9} META-INF/MANIFEST.MF @@ -67,7 +69,10 @@ %build export CLASSPATH= export OPT_JAR_LIST=: -ant -Dobjectweb.ant.tasks.path=$(build-classpath objectweb-anttask) jar +ant \ + -Dobjectweb.ant.tasks.path=$(build-classpath objectweb-anttask) \ + -Dant.build.javac.source=1.6 -Dant.build.javac.target=1.6 \ + jar %install # jars ++++++ asm-3.3.1-sourcetarget.patch ++++++ --- asm-3.3.1/build.xml 2009-07-11 17:56:57.000000000 +0200 +++ asm-3.3.1/build.xml 2017-10-04 09:56:20.226981298 +0200 @@ -170,7 +170,7 @@ </target> <target name="compile-debug" depends="init,compile-init,compile-config"> - <javac destdir="${out.build}/tmp" debug="on" source="1.3" target="1.2"> + <javac destdir="${out.build}/tmp" debug="on"> <classpath> <pathelement location="${out.build}/tmp"/> </classpath>