diff --git a/adaptx.changes b/adaptx.changes index 5a200a6..ea29aa6 100644 --- a/adaptx.changes +++ b/adaptx.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Sep 14 11:15:20 UTC 2017 - fstrba@suse.com + +- Fix building with jdk9 by specifying java source and target 1.6 + ------------------------------------------------------------------- Fri May 19 11:39:08 UTC 2017 - tchvatal@suse.com diff --git a/adaptx.spec b/adaptx.spec index 1b1dd99..0382964 100644 --- a/adaptx.spec +++ b/adaptx.spec @@ -70,9 +70,9 @@ done %build perl -p -i -e 's|classic|modern|' src/build.xml export CLASSPATH=$(build-classpath xml-commons-apis log4j xerces-j2 xerces-j2-xml-apis) -ant -Dant.build.javac.source=1.5 -Dant.build.javac.target=1.5 -buildfile src/build.xml jar javadoc +ant -Dant.build.javac.source=1.6 -Dant.build.javac.target=1.6 -buildfile src/build.xml jar javadoc CLASSPATH=$CLASSPATH:dist/adaptx_%{version}.jar -ant -Dant.build.javac.source=1.5 -Dant.build.javac.target=1.5 -buildfile src/build.xml doc +ant -Dant.build.javac.source=1.6 -Dant.build.javac.target=1.6 -buildfile src/build.xml doc %install # jar