Fridrich Strba 2018-05-16 11:52:54 +00:00 committed by Git OBS Bridge
parent f65e692256
commit 0f34db944e
2 changed files with 9 additions and 3 deletions

View File

@ -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

View File

@ -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