1
0

Accepting request 963171 from Java:packages

Build with source/target levels 8

OBS-URL: https://build.opensuse.org/request/show/963171
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xmlgraphics-commons?expand=0&rev=28
This commit is contained in:
Dominique Leuenberger 2022-03-28 14:59:28 +00:00 committed by Git OBS Bridge
commit c2976e839a
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Mar 18 17:52:48 UTC 2022 - Fridrich Strba <fstrba@suse.com>
- Build with source/target levels 8
-------------------------------------------------------------------
Sun Jan 24 18:23:07 UTC 2021 - Fridrich Strba <fstrba@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package xmlgraphics-commons
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2000-2008, JPackage Project
#
# All modifications and additions to the file contributed by third parties
@ -31,6 +31,7 @@ BuildRequires: ant >= 1.6.5
BuildRequires: commons-io >= 1.1
BuildRequires: commons-logging
BuildRequires: fdupes
BuildRequires: java-devel >= 1.8
BuildRequires: javapackages-local
Requires: mvn(commons-io:commons-io) >= 1.1
Requires: mvn(commons-logging:commons-logging)
@ -61,7 +62,7 @@ find . -name "*.jar" | xargs rm
%build
export CLASSPATH=
build-jar-repository -s lib commons-io commons-logging
ant -Djavac.source=1.6 -Djavac.target=1.6 package javadocs
ant -Djavac.source=1.8 -Djavac.target=1.8 package javadocs
%install
# jar