Accepting request 620769 from Java:packages

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/620769
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bcel?expand=0&rev=27
This commit is contained in:
Dominique Leuenberger 2018-07-24 15:31:13 +00:00 committed by Git OBS Bridge
commit 06023a8439
2 changed files with 10 additions and 4 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue May 15 14:05:02 UTC 2018 - fstrba@suse.com
- Build with source and target 8 to prepare for a possible removal
of 1.6 compatibility
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Sep 27 17:05:58 UTC 2017 - fstrba@suse.com Wed Sep 27 17:05:58 UTC 2017 - fstrba@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package bcel # spec file for package bcel
# #
# 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 @@ Source1: http://www.apache.org/dist/commons/bcel/source/%{name}-%{version
Source2: bcel.keyring Source2: bcel.keyring
Patch0: bcel-5.2-encoding.patch Patch0: bcel-5.2-encoding.patch
BuildRequires: ant BuildRequires: ant
BuildRequires: java-devel BuildRequires: java-devel >= 1.8
BuildRequires: regexp BuildRequires: regexp
BuildRequires: xml-commons-apis-bootstrap BuildRequires: xml-commons-apis-bootstrap
#!BuildIgnore: xerces-j2 #!BuildIgnore: xerces-j2
@ -75,11 +75,11 @@ touch manifest.txt
export CLASSPATH=%(build-classpath regexp) export CLASSPATH=%(build-classpath regexp)
export OPT_JAR_LIST="ant/ant-nodeps" export OPT_JAR_LIST="ant/ant-nodeps"
ant \ ant \
-Dant.build.javac.target=1.6 -Dant.build.javac.source=1.6 \ -Dant.build.javac.target=8 -Dant.build.javac.source=8 \
-Dbuild.dest=./build -Dbuild.dir=./build -Dname=%{name} \ -Dbuild.dest=./build -Dbuild.dir=./build -Dname=%{name} \
compile compile
ant \ ant \
-Dant.build.javac.target=1.6 -Dant.build.javac.source=1.6 \ -Dant.build.javac.target=8 -Dant.build.javac.source=8 \
-Dbuild.dest=./build -Dbuild.dir=./build -Dname=%{name} \ -Dbuild.dest=./build -Dbuild.dir=./build -Dname=%{name} \
jar jar