diff --git a/apache-commons-httpclient.changes b/apache-commons-httpclient.changes index 26bc3ba..c74381b 100644 --- a/apache-commons-httpclient.changes +++ b/apache-commons-httpclient.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Sep 7 11:49:25 UTC 2017 - fstrba@suse.com + +- Build with java source and target versions 1.6 + * fixes build with jdk9 + ------------------------------------------------------------------- Tue Jul 8 08:23:35 UTC 2014 - tchvatal@suse.com diff --git a/apache-commons-httpclient.spec b/apache-commons-httpclient.spec index 464278a..66931cc 100644 --- a/apache-commons-httpclient.spec +++ b/apache-commons-httpclient.spec @@ -1,7 +1,7 @@ # # spec file for package apache-commons-httpclient # -# 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 @@ -125,7 +125,7 @@ sed -i 's/\r//' LICENSE.txt %build ant \ - -Dant.build.javac.source=1.5 -Dant.build.javac.target=1.5 \ + -Dant.build.javac.source=1.6 -Dant.build.javac.target=1.6 \ -Dbuild.sysclasspath=first \ -Djavadoc.j2sdk.link=%{_javadocdir}/java \ -Djavadoc.logging.link=%{_javadocdir}/apache-commons-logging \