Accepting request 962889 from Java:packages

Build with source/target levels 8

OBS-URL: https://build.opensuse.org/request/show/962889
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xml-commons-resolver?expand=0&rev=4
This commit is contained in:
Dominique Leuenberger 2022-03-28 14:58:58 +00:00 committed by Git OBS Bridge
commit 638af3c6cd
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Mar 18 16:29:44 UTC 2022 - Fridrich Strba <fstrba@suse.com>
- Build with source/target levels 8
-------------------------------------------------------------------
Mon Apr 8 11:32:53 UTC 2019 - Fridrich Strba <fstrba@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package xml-commons-resolver
#
# 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
@ -34,7 +34,7 @@ Patch0: %{name}-1.2-crosslink.patch
Patch1: %{name}-1.2-osgi.patch
BuildRequires: ant
BuildRequires: fdupes
BuildRequires: java-devel
BuildRequires: java-devel >= 1.8
BuildRequires: javapackages-local
#!BuildIgnore: xerces-j2 xml-apis xml-resolver
# Explicit javapackages-tools requires since scripts use
@ -79,7 +79,7 @@ sed -i 's/\r//' KEYS LICENSE.resolver.txt NOTICE-resolver.txt
%pom_remove_parent .
%build
%{ant} -f resolver.xml -Dant.build.javac.source=6 -Dant.build.javac.target=6 jar javadocs
%{ant} -f resolver.xml -Dant.build.javac.source=8 -Dant.build.javac.target=8 jar javadocs
%install
# jar