From 0f34db944ed285344fa1037ee6288235f8bb28128d947282913a39550dad0cc5 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Wed, 16 May 2018 11:52:54 +0000 Subject: [PATCH 1/2] OBS-URL: https://build.opensuse.org/package/show/Java:packages/dom2-core-tests?expand=0&rev=16 --- dom2-core-tests.changes | 6 ++++++ dom2-core-tests.spec | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/dom2-core-tests.changes b/dom2-core-tests.changes index 326a75b..92fce7c 100644 --- a/dom2-core-tests.changes +++ b/dom2-core-tests.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed May 16 11:52:32 UTC 2018 - fstrba@suse.com + +- Build with source and target 8 to prepare for a possible removal + of 1.6 compatibility in OpenJDK 11 + ------------------------------------------------------------------- Fri Sep 15 07:46:31 UTC 2017 - fstrba@suse.com diff --git a/dom2-core-tests.spec b/dom2-core-tests.spec index e4b6ef9..05124a5 100644 --- a/dom2-core-tests.spec +++ b/dom2-core-tests.spec @@ -1,7 +1,7 @@ # # spec file for package dom2-core-tests # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -28,7 +28,7 @@ Source0: http://www.w3.org/2004/04/dom2-core-tests-20040405.jar Source1: LICENSE.html Patch0: dom2-core-tests-build_xml.patch BuildRequires: ant -BuildRequires: java-devel >= 1.6 +BuildRequires: java-devel >= 1.8 BuildRequires: javapackages-tools BuildRequires: junit BuildRequires: unzip @@ -54,7 +54,7 @@ rm -rf org/w3c/domts/JUnitRunner.java %build export CLASSPATH=$(build-classpath junit) -ant -Dant.build.javac.source=1.6 -Dant.build.javac.target=1.6 dist +ant -Dant.build.javac.source=8 -Dant.build.javac.target=8 dist %install # jars From 57079922a7953c9c92b50997458e27acc12152677bcd90cb03db5417516f965f Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Thu, 17 May 2018 19:58:32 +0000 Subject: [PATCH 2/2] OBS-URL: https://build.opensuse.org/package/show/Java:packages/dom2-core-tests?expand=0&rev=17 --- dom2-core-tests.changes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dom2-core-tests.changes b/dom2-core-tests.changes index 92fce7c..27b71f9 100644 --- a/dom2-core-tests.changes +++ b/dom2-core-tests.changes @@ -2,7 +2,7 @@ Wed May 16 11:52:32 UTC 2018 - fstrba@suse.com - Build with source and target 8 to prepare for a possible removal - of 1.6 compatibility in OpenJDK 11 + of 1.6 compatibility ------------------------------------------------------------------- Fri Sep 15 07:46:31 UTC 2017 - fstrba@suse.com