Accepting request 1064177 from Java:packages

1.9

OBS-URL: https://build.opensuse.org/request/show/1064177
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xz-java?expand=0&rev=4
This commit is contained in:
Dominique Leuenberger 2023-02-11 20:55:52 +00:00 committed by Git OBS Bridge
commit b69d36ea8a
5 changed files with 16 additions and 21 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:86be97adf59d19c000c5bac8c77f2fa2f84fa082d608c7ad2d07a007dce76160
size 152470

BIN
xz-java-1.9.zip (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,11 +0,0 @@
--- xz-java-1.8.orig/build.properties 2016-11-26 22:39:44.000000000 +0100
+++ xz-java-1.8/build.properties 2018-01-13 13:35:46.432055600 +0100
@@ -17,7 +17,7 @@
# The source code is Java 5 compatible but the oldest -source/-target pair
# that OpenJDK 9 supports is 1.6 (Java 6). Edit this if you are using
# OpenJDK 9 or later.
-sourcever = 1.5
+sourcever = 1.8
src_dir = src
build_dir = build

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Mon Dec 12 19:32:21 UTC 2022 - Anton Shvetz <shvetz.anton@gmail.com>
- Update to version 1.9
* Release notes at /usr/share/doc/packages/xz-java/NEWS
- Remove obsolete patch:
* xz-java-source-version.patch
-------------------------------------------------------------------
Wed Feb 13 12:27:36 UTC 2019 - Klaus Kämpf <kkaempf@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package xz-java
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2013 Peter Conrad
#
# All modifications and additions to the file contributed by third parties
@ -18,22 +18,21 @@
Name: xz-java
Version: 1.8
Version: 1.9
Release: 0
Summary: Pure Java implementation of XZ compression
License: SUSE-Public-Domain
Group: Development/Libraries/Java
URL: http://tukaani.org/xz/java.html
URL: https://tukaani.org/xz/java.html
Source: http://tukaani.org/xz/xz-java-%{version}.zip
Patch0: xz-java-source-version.patch
BuildRequires: ant
BuildRequires: fdupes
BuildRequires: java-devel >= 1.8
BuildRequires: javapackages-local
BuildRequires: unzip
BuildArch: noarch
Provides: java-xz
Obsoletes: java-xz
BuildArch: noarch
%description
This is an implementation of XZ data compression in pure Java.
@ -49,11 +48,10 @@ This package contains the API documentation of xz-java.
%prep
%setup -q -c -n %{name}
%patch0 -p1
%build
sed -i 's/linkoffline="[^"]*"//;/extdoc_/d' build.xml
ant -Dant.build.javac.source=1.8 -Dant.build.javac.target=1.8 clean jar doc maven
ant -Dant.build.javac.{source,target}=8 clean jar doc maven
%install
# jar