This commit is contained in:
parent
f65e692256
commit
0f34db944e
@ -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
|
Fri Sep 15 07:46:31 UTC 2017 - fstrba@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package dom2-core-tests
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# 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
|
Source1: LICENSE.html
|
||||||
Patch0: dom2-core-tests-build_xml.patch
|
Patch0: dom2-core-tests-build_xml.patch
|
||||||
BuildRequires: ant
|
BuildRequires: ant
|
||||||
BuildRequires: java-devel >= 1.6
|
BuildRequires: java-devel >= 1.8
|
||||||
BuildRequires: javapackages-tools
|
BuildRequires: javapackages-tools
|
||||||
BuildRequires: junit
|
BuildRequires: junit
|
||||||
BuildRequires: unzip
|
BuildRequires: unzip
|
||||||
@ -54,7 +54,7 @@ rm -rf org/w3c/domts/JUnitRunner.java
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
export CLASSPATH=$(build-classpath junit)
|
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
|
%install
|
||||||
# jars
|
# jars
|
||||||
|
Loading…
Reference in New Issue
Block a user