Accepting request 620786 from Java:packages

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/620786
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dom2-core-tests?expand=0&rev=19
This commit is contained in:
Dominique Leuenberger 2018-07-07 19:59:59 +00:00 committed by Git OBS Bridge
commit d94763590e
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
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Sep 15 07:46:31 UTC 2017 - fstrba@suse.com Fri Sep 15 07:46:31 UTC 2017 - fstrba@suse.com

View File

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