From 06eb45922c0d979fca7735b85bee33df98b6700da30fea5e0c61db4ffe7d9794 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Wed, 23 Mar 2022 20:06:16 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Java:packages/saxon6?expand=0&rev=29 --- saxon6.changes | 5 +++++ saxon6.spec | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/saxon6.changes b/saxon6.changes index 4925743..b4218ee 100644 --- a/saxon6.changes +++ b/saxon6.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Mar 23 20:05:51 UTC 2022 - Fridrich Strba + +- Build with java source and target levels 8 + ------------------------------------------------------------------- Thu Nov 19 06:37:45 UTC 2020 - Fridrich Strba diff --git a/saxon6.spec b/saxon6.spec index b2f7e99..b78eb68 100644 --- a/saxon6.spec +++ b/saxon6.spec @@ -1,7 +1,7 @@ # # spec file for package saxon6 # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -41,7 +41,7 @@ Patch4: saxon-add-fixes-from-com-isl-saxon-aelfred.patch Patch5: saxon6-batch.patch BuildRequires: ant BuildRequires: fdupes -BuildRequires: java-devel +BuildRequires: java-devel >= 1.8 BuildRequires: javapackages-local BuildRequires: jdom >= 1.0 BuildRequires: unzip @@ -147,7 +147,7 @@ rm -rf *.jar docs/api export LC_ALL=en_US.ISO-8859-2 export CLASSPATH=%(build-classpath xml-commons-apis jdom) ant \ - -Dant.build.javac.source=1.6 -Dant.build.javac.target=1.6 \ + -Dant.build.javac.source=1.8 -Dant.build.javac.target=1.8 \ -Dj2se.javadoc=%{_javadocdir}/java \ -Djdom.javadoc=%{_javadocdir}/jdom