Hello community, here is the log from the commit of package swing-layout for openSUSE:Factory checked in at 2017-09-20 17:12:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/swing-layout (Old) and /work/SRC/openSUSE:Factory/.swing-layout.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "swing-layout" Wed Sep 20 17:12:00 2017 rev:17 rq:527279 version:1.0.3 Changes: -------- --- /work/SRC/openSUSE:Factory/swing-layout/swing-layout.changes 2014-07-22 09:55:57.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.swing-layout.new/swing-layout.changes 2017-09-20 17:12:02.759002777 +0200 @@ -1,0 +2,5 @@ +Tue Sep 19 10:08:01 UTC 2017 - fst...@suse.com + +- Fix build with jdk9: specify java source and target level 1.6 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ swing-layout.spec ++++++ --- /var/tmp/diff_new_pack.ccbrpj/_old 2017-09-20 17:12:03.606883421 +0200 +++ /var/tmp/diff_new_pack.ccbrpj/_new 2017-09-20 17:12:03.606883421 +0200 @@ -1,7 +1,7 @@ # # spec file for package swing-layout # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,13 +25,13 @@ Url: https://swing-layout.dev.java.net/ Source0: %{name}-%{version}-src.tar.bz2 BuildRequires: ant -BuildRequires: javapackages-tools -Requires: jre >= 1.5 -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildArch: noarch +BuildRequires: fdupes BuildRequires: java-devel +BuildRequires: javapackages-tools BuildRequires: xml-commons-apis BuildRequires: xml-commons-resolver +Requires: jre >= 1.5 +BuildArch: noarch %description Swing Layout Extensions goal is to make it easy to create @@ -69,9 +69,7 @@ sed -i -e 's/.$//' releaseNotes.txt COPYING %build -unset CLASSPATH -export CLASSPATH=%{java_home}/jre/lib/rt.jar -ant jar javadoc +ant -Djavac.source=1.6 -Djavac.target=1.6 jar javadoc %install # jars @@ -87,14 +85,13 @@ install -dm 755 %{buildroot}%{_javadocdir}/%{name} cp -pr dist/javadoc/* \ %{buildroot}%{_javadocdir}/%{name} +%fdupes -s %{buildroot}%{_javadocdir}/%{name} %files -%defattr(-,root,root) %doc releaseNotes.txt COPYING %{_javadir}/%{name}*.jar %files javadoc -%defattr(644,root,root,755) %doc %{_javadocdir}/%{name} %changelog