Hello community, here is the log from the commit of package netbeans-javaparser for openSUSE:Factory checked in at 2017-09-20 17:12:47 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/netbeans-javaparser (Old) and /work/SRC/openSUSE:Factory/.netbeans-javaparser.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "netbeans-javaparser" Wed Sep 20 17:12:47 2017 rev:17 rq:527341 version:6.8 Changes: -------- --- /work/SRC/openSUSE:Factory/netbeans-javaparser/netbeans-javaparser.changes 2014-07-11 20:05:57.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.netbeans-javaparser.new/netbeans-javaparser.changes 2017-09-20 17:12:57.415308856 +0200 @@ -1,0 +2,5 @@ +Tue Sep 19 15:09:27 UTC 2017 - fstrba@suse.com + +- Fix build with jdk9: specify java source and target 1.6 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ netbeans-javaparser.spec ++++++ --- /var/tmp/diff_new_pack.lzd90G/_old 2017-09-20 17:12:58.023223281 +0200 +++ /var/tmp/diff_new_pack.lzd90G/_new 2017-09-20 17:12:58.027222718 +0200 @@ -1,7 +1,7 @@ # # spec file for package netbeans-javaparser # -# 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 @@ -37,7 +37,6 @@ BuildRequires: javapackages-tools Requires: java >= 1.6.0 Requires: javapackages-tools -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %description @@ -50,7 +49,10 @@ %build [ -z "$JAVA_HOME" ] && export JAVA_HOME=%{_jvmdir}/java -ant -f make/netbeans/nb-javac/build.xml jar +ant \ + -f make/netbeans/nb-javac/build.xml \ + -Djavac.source=1.6 -Djavac.target=1.6 \ + jar %install # jar @@ -61,7 +63,6 @@ ln -s %{name}-impl-%{version}.jar %{buildroot}%{_javadir}/%{name}-impl.jar %files -%defattr(-,root,root) %doc ASSEMBLY_EXCEPTION LICENSE README %{_javadir}/*