Fridrich Strba 2022-03-23 07:08:02 +00:00 committed by Git OBS Bridge
parent db34828cf4
commit 326650304e
3 changed files with 14 additions and 6 deletions

View File

@ -5,8 +5,8 @@ diff -urEbwB kxml-2.3.0/build.xml kxml-2.3.0.new/build.xml
<project name="kxml2" default="build" basedir=".">
<property name="version" value="2.3.0" />
+ <property name="javac.source" value="1.6" />
+ <property name="javac.target" value="1.6" />
+ <property name="javac.source" value="1.8" />
+ <property name="javac.target" value="1.8" />
<target name="javadoc">

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Mar 23 07:07:25 UTC 2022 - Fridrich Strba <fstrba@suse.com>
- Modified patch:
* kxml-2.3.0-fix_build.patch
+ specify java source and target levels 1.8
-------------------------------------------------------------------
Fri May 3 14:51:56 UTC 2019 - Fridrich Strba <fstrba@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package kxml
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2000-2008, JPackage Project
#
# All modifications and additions to the file contributed by third parties
@ -19,21 +19,22 @@
Name: kxml
Version: 2.3.0
Release: 17%{?dist}
Release: 0
Summary: Small XML pull parser
License: MIT
Group: Development/Libraries/Java
URL: http://kxml.sourceforge.net/
# ./create-tarball.sh %%{version}
Source0: %{name}-%{version}-clean.tar.gz
Source1: http://repo1.maven.org/maven2/net/sf/kxml/kxml2/%{version}/kxml2-%{version}.pom
Source2: http://repo1.maven.org/maven2/net/sf/kxml/kxml2-min/%{version}/kxml2-min-%{version}.pom
Source1: https://repo1.maven.org/maven2/net/sf/kxml/kxml2/%{version}/kxml2-%{version}.pom
Source2: https://repo1.maven.org/maven2/net/sf/kxml/kxml2-min/%{version}/kxml2-min-%{version}.pom
Source3: %{name}-%{version}-OSGI-MANIFEST.MF
Source100: create-tarball.sh
Patch0: 0001-Unbundle-xpp3-classes.patch
Patch1: kxml-2.3.0-fix_build.patch
BuildRequires: ant
BuildRequires: fdupes
BuildRequires: java-devel >= 1.8
BuildRequires: javapackages-local
BuildRequires: xmvn-install
BuildRequires: xmvn-resolve