From 5fd31f8408f0b4cde351f6ce437cdbf5df1ad51601b881fc3a0d426c4c2aa87c Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Mon, 18 Sep 2017 17:52:04 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Java:packages/saxon6?expand=0&rev=22 --- saxon6.changes | 5 +++++ saxon6.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/saxon6.changes b/saxon6.changes index 24ff672..d4cba90 100644 --- a/saxon6.changes +++ b/saxon6.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Sep 18 17:51:41 UTC 2017 - fstrba@suse.com + +- Specify java source and target 1.6 to fix build with jdk9 + ------------------------------------------------------------------- Fri May 19 17:10:09 UTC 2017 - tchvatal@suse.com diff --git a/saxon6.spec b/saxon6.spec index 05e1d2d..3727639 100644 --- a/saxon6.spec +++ b/saxon6.spec @@ -157,7 +157,7 @@ rm -rf *.jar docs/api export LC_ALL=en_US.ISO-8859-2 export CLASSPATH=%(build-classpath xml-commons-apis xmlgraphics-fop jdom) 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 \ -Dj2se.javadoc=%{_javadocdir}/java \ -Dfop.javadoc=%{_javadocdir}/fop \ -Djdom.javadoc=%{_javadocdir}/jdom