diff --git a/xz-java-1.8.zip b/xz-java-1.8.zip deleted file mode 100644 index b27da9c..0000000 --- a/xz-java-1.8.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:86be97adf59d19c000c5bac8c77f2fa2f84fa082d608c7ad2d07a007dce76160 -size 152470 diff --git a/xz-java-1.9.zip b/xz-java-1.9.zip new file mode 100644 index 0000000..dbec562 --- /dev/null +++ b/xz-java-1.9.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b1d9a603f4fa75f0702ef84af5bcc11d03e721b6317daec1b1f81c31904bed00 +size 155868 diff --git a/xz-java-source-version.patch b/xz-java-source-version.patch deleted file mode 100644 index 33683b2..0000000 --- a/xz-java-source-version.patch +++ /dev/null @@ -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 diff --git a/xz-java.changes b/xz-java.changes index 0086d8f..317b227 100644 --- a/xz-java.changes +++ b/xz-java.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Mon Dec 12 19:32:21 UTC 2022 - Anton Shvetz + +- 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 diff --git a/xz-java.spec b/xz-java.spec index ed9ff10..ed55bc0 100644 --- a/xz-java.spec +++ b/xz-java.spec @@ -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