From db6efb4e2e1a3b63cd2c620dc641cd51fd0e60974e2be5cff66d08d0f5a81e9a Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Fri, 18 Mar 2022 16:27:49 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Java:packages/xml-commons-apis?expand=0&rev=19 --- xml-commons-apis.changes | 5 +++++ xml-commons-apis.spec | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/xml-commons-apis.changes b/xml-commons-apis.changes index af4c022..f33cd6c 100644 --- a/xml-commons-apis.changes +++ b/xml-commons-apis.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Mar 18 16:27:31 UTC 2022 - Fridrich Strba + +- Build with source/target levels 8 + ------------------------------------------------------------------- Mon Apr 8 11:37:06 UTC 2019 - Fridrich Strba diff --git a/xml-commons-apis.spec b/xml-commons-apis.spec index 47e1b7e..c241d33 100644 --- a/xml-commons-apis.spec +++ b/xml-commons-apis.spec @@ -1,7 +1,7 @@ # # spec file for package xml-commons-apis # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# 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 @@ -33,7 +33,7 @@ Source3: http://repo1.maven.org/maven2/xml-apis/xml-apis/2.0.2/xml-apis-2 Source4: http://repo1.maven.org/maven2/xml-apis/xml-apis-ext/1.3.04/xml-apis-ext-1.3.04.pom BuildRequires: ant BuildRequires: fdupes -BuildRequires: java-devel +BuildRequires: java-devel >= 1.8 BuildRequires: javapackages-local BuildRequires: xz #!BuildIgnore: xerces-j2 xml-apis xml-resolver @@ -88,7 +88,7 @@ sed -i '/distributionManagement/,/\/distributionManagement/ {d}' *.pom %pom_remove_parent xml-apis-ext*.pom %build -ant -Dant.build.javac.source=6 -Dant.build.javac.target=6 jar javadoc +ant -Dant.build.javac.source=8 -Dant.build.javac.target=8 jar javadoc # inject OSGi manifests jar ufm build/xml-apis.jar %{SOURCE1}