Hello community, here is the log from the commit of package cglib for openSUSE:Factory checked in at 2017-09-20 17:08:13 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/cglib (Old) and /work/SRC/openSUSE:Factory/.cglib.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "cglib" Wed Sep 20 17:08:13 2017 rev:18 rq:526936 version:2.2 Changes: -------- --- /work/SRC/openSUSE:Factory/cglib/cglib.changes 2017-05-22 10:48:27.340692513 +0200 +++ /work/SRC/openSUSE:Factory/.cglib.new/cglib.changes 2017-09-20 17:08:13.591262634 +0200 @@ -1,0 +2,8 @@ +Mon Sep 18 06:30:45 UTC 2017 - fst...@suse.com + +- Specify java source and target 1.6 in order to allow building + with jdk9 +- Fix javadoc generation +- Clean spec file + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cglib.spec ++++++ --- /var/tmp/diff_new_pack.aHSREF/_old 2017-09-20 17:08:14.295163546 +0200 +++ /var/tmp/diff_new_pack.aHSREF/_new 2017-09-20 17:08:14.299162983 +0200 @@ -28,7 +28,7 @@ # Remove the repackaging step that includes other jars into the final thing Patch0: %{name}-build_xml.patch BuildRequires: ant >= 1.6 -BuildRequires: java-devel +BuildRequires: fdupes BuildRequires: java-devel >= 1.6.0 # Needed for maven conversions BuildRequires: javapackages-local @@ -57,11 +57,13 @@ %setup -q -T -c -n %{name} unzip -q %{SOURCE0} rm lib/*.jar +build-jar-repository -s -p lib objectweb-asm ant %patch0 -p1 %build -export CLASSPATH=`build-classpath objectweb-asm` -ant jar javadoc +ant \ + -Dcompile.target=1.6 -Dcompile.source=1.6 \ + jar javadoc %install # jars @@ -71,6 +73,7 @@ # javadoc mkdir -p %{buildroot}%{_javadocdir}/ cp -r docs %{buildroot}%{_javadocdir}/%{name} +%fdupes -s %{buildroot}%{_javadocdir}/%{name} #maven pom mkdir -p %{buildroot}%{_mavenpomdir} @@ -78,14 +81,12 @@ %add_maven_depmap JPP-%{name}.pom %{name}.jar %files -%defattr(-,root,root,-) %doc LICENSE NOTICE %{_javadir}/*.jar %{_mavenpomdir}/* %config(noreplace) %{_datadir}/maven-metadata/%{name}.xml %files javadoc -%defattr(-,root,root,-) %{_javadocdir}/%{name} %changelog