Accepting request 962885 from Java:packages

Build with source/target levels 8

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

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Mar 18 16:22:47 UTC 2022 - Fridrich Strba <fstrba@suse.com>
- Build with source/target levels 8
-------------------------------------------------------------------
Fri Feb 1 12:14:36 UTC 2019 - Fridrich Strba <fstrba@suse.com>

View File

@ -2,7 +2,7 @@
#
# spec file for package xml-commons-apis-bootstrap
#
# 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
@ -37,7 +37,7 @@ Patch1: %{real_name}-resolver-crosslink.patch
Patch2: %{real_name}-resolver-1.1-build_xml.patch
Patch3: %{real_name}-enum.patch
BuildRequires: antlr-bootstrap
BuildRequires: java-devel >= 1.6
BuildRequires: java-devel >= 1.8
# Needed for maven conversions
BuildRequires: javapackages-tools
#!BuildIgnore: antlr
@ -133,7 +133,7 @@ function mkJar() {
#<<< end functions
# variables:
COMPILER_COMMAND="javac -source 1.6 -target 1.6 -classpath "
COMPILER_COMMAND="javac -source 1.8 -target 1.8 -classpath "
TARGET_DIR=`pwd`
CLASSPATH_ORIG="$CLASSPATH"