SHA256
1
0
forked from pool/bea-stax

Accepting request 620771 from Java:packages

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/620771
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bea-stax?expand=0&rev=25
This commit is contained in:
Dominique Leuenberger 2018-07-24 15:31:19 +00:00 committed by Git OBS Bridge
commit 796fa76a91
3 changed files with 14 additions and 6 deletions

View File

@ -5,7 +5,7 @@
<!--unjar src="${jar_api}" dest="${class_dir}"/-->
<javac srcdir="${src_api}"
- source="1.2" target="1.2"
+ source="1.6" target="1.6"
+ source="8" target="8"
includes="${api_dirs}"
destdir="${class_dir}"
debug="true">
@ -14,7 +14,7 @@
<!--javac srcdir="${src}:${api_src_dir}"-->
<javac srcdir="${src}"
- source="1.2" target="1.2"
+ source="1.6" target="1.6"
+ source="8" target="8"
includes="${topdirs}"
destdir="${class_dir}"
+ encoding="ISO-8859-1"
@ -26,7 +26,7 @@
<target name="test_compile" depends="api, test_init">
<javac srcdir="${src}" includes="org/codehaus/stax/test/**/*.java"
- source="1.2" target="1.2"
+ source="1.6" target="1.6"
+ source="8" target="8"
destdir="${test_class_dir}"
debug="true">
<classpath>

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Tue May 15 17:34:21 UTC 2018 - fstrba@suse.com
- Modified patch:
* bea-stax-target16.patch -> bea-stax-target8.patch
+ Build with source and target 8 to prepare for a possible
removal of 1.6 compatibility
-------------------------------------------------------------------
Thu Sep 14 16:17:04 UTC 2017 - fstrba@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package bea-stax
#
# 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
# remain the property of their copyright owners, unless otherwise agreed
@ -25,10 +25,10 @@ License: Apache-2.0
Group: Development/Libraries/Java
Url: http://dev2dev.bea.com/technologies/stax/index.jsp
Source0: stax-src-1.2.0_rc1-dev.zip
Patch0: bea-stax-target16.patch
Patch0: bea-stax-target8.patch
Patch2: bea-stax-gcj-build.patch
BuildRequires: ant
BuildRequires: java-devel >= 1.6
BuildRequires: java-devel >= 1.8
BuildRequires: javapackages-tools
BuildRequires: unzip
#!BuildIgnore: xerces-j2-bootstrap