Accepting request 962915 from Java:packages

Build with source/target levels 8

OBS-URL: https://build.opensuse.org/request/show/962915
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xpp2?expand=0&rev=20
This commit is contained in:
Dominique Leuenberger 2022-03-28 14:59:02 +00:00 committed by Git OBS Bridge
commit 9311821a97
3 changed files with 14 additions and 7 deletions

View File

@ -5,8 +5,8 @@
- <property name="target" value="1.1" />
+ <property name="target" value="1.6" />
+ <property name="source" value="1.6" />
+ <property name="target" value="1.8" />
+ <property name="source" value="1.8" />
<!-- set global properties for this build -->
<property name="name" value="XML Pull Parser"/>
@ -185,7 +185,7 @@
<javadoc packagenames="${apidoc_packages}"
sourcepath="${src_intf}"
destdir="${build_apidoc}"
+ source="1.6"
+ source="${source}"
author="true"
version="true"
use="true"
@ -193,7 +193,7 @@
<javadoc packagenames="${javadoc_packages}"
sourcepath="${src_intf}:${src_impl_factory}:${src_impl_small}:${src_impl_tag}:${src_impl_pp}:${src_impl_node}:${src_impl_format}:${src_x2impl}:${src_x2impl_factory}:${src_x2impl_pp}"
destdir="${build_javadoc}"
+ source="1.6"
+ source="${source}"
author="true"
version="true"
use="true"

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Mar 18 17:44:25 UTC 2022 - Fridrich Strba <fstrba@suse.com>
- Modified patch:
* xpp2-build_xml.patch
+ Build with source/target levels 8
-------------------------------------------------------------------
Sun May 16 13:55:00 UTC 2021 - Ferdinand Thiessen <rpm@fthiessen.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package xpp2
#
# 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
@ -23,13 +23,13 @@ Release: 0
Summary: XML Pull Parser
License: Apache-1.1
Group: Development/Libraries/Java
Url: http://www.extreme.indiana.edu/xgws/xsoap/xpp/
URL: http://www.extreme.indiana.edu/xgws/xsoap/xpp/
Source0: http://www.extreme.indiana.edu/xgws/xsoap/xpp/download/PullParser2/PullParser%{version}.tar.bz2
Source1: https://repo1.maven.org/maven2/pull-parser/pull-parser/%{version}/pull-parser-%{version}.pom
Patch0: xpp2-build_xml.patch
Patch1: xpp2-enum.patch
BuildRequires: ant >= 1.6
BuildRequires: ant-junit >= 1.6
BuildRequires: ant-junit >= 1.8
BuildRequires: fdupes
BuildRequires: javapackages-local
BuildRequires: javapackages-tools