1
0

Accepting request 964412 from Java:packages

Build with source and target levels 8

OBS-URL: https://build.opensuse.org/request/show/964412
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/jakarta-commons-modeler?expand=0&rev=21
This commit is contained in:
2022-03-24 21:57:51 +00:00
committed by Git OBS Bridge
2 changed files with 8 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Mar 21 04:56:45 UTC 2022 - Fridrich Strba <fstrba@suse.com>
- Build with java source and target levels 8
-------------------------------------------------------------------
Tue Dec 28 08:23:03 UTC 2021 - David Anes <david.anes@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package jakarta-commons-modeler
#
# Copyright (c) 2021 SUSE LLC
# 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
@@ -30,6 +30,7 @@ Source1: https://archive.apache.org/dist/commons/%{base_name}/source/%{sh
BuildRequires: ant
BuildRequires: fdupes
BuildRequires: jakarta-commons-digester
BuildRequires: java-devel >= 1.8
BuildRequires: javapackages-tools
BuildRequires: junit
BuildRequires: mx4j
@@ -80,7 +81,7 @@ ant \
-Djunit.jar=$(build-classpath junit) \
-Dcommons-digester.jar=$(build-classpath commons-digester) \
-Dcommons-logging.jar=$(build-classpath commons-logging) \
-Dant.build.javac.source=1.6 -Dant.build.javac.target=1.6 \
-Dant.build.javac.source=1.8 -Dant.build.javac.target=1.8 \
dist
%install