1
0

Accepting request 963033 from Java:packages

Build with source/target levels 8

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

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Mar 19 11:07:38 UTC 2022 - Fridrich Strba <fstrba@suse.com>
- Build with source/target levels 8
-------------------------------------------------------------------
Mon Apr 8 11:27:51 UTC 2019 - Fridrich Strba <fstrba@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package relaxngDatatype
#
# 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
@ -27,7 +27,7 @@ Source0: https://github.com/java-schema-utilities/relaxng-datatype-java/a
# License is not available in the tarball, this copy fetched from the tarball on the old sourceforge.net site
Source1: copying.txt
BuildRequires: ant
BuildRequires: java-devel
BuildRequires: java-devel >= 1.8
BuildRequires: javapackages-local
Obsoletes: %{name}-javadoc
BuildArch: noarch
@ -46,7 +46,7 @@ cp -p %{SOURCE1} .
%build
ant \
-Dbuild.sysclasspath=only \
-Dant.build.javac.source=1.6 -Dant.build.javac.target=1.6
-Dant.build.javac.source=1.8 -Dant.build.javac.target=1.8
%install
install -Dpm 644 %{name}.jar \