Compare commits

..

1 commit

Author SHA1 Message Date
Marian Koncek
9a1679e6c1 Update javapackages-validator URL 2025-08-19 11:11:27 +02:00
4 changed files with 17 additions and 11 deletions

1
.gitignore vendored
View file

@ -8,4 +8,3 @@
/xz-java-1.7.zip
/xz-java-1.8.zip
/xz-java-1.9.zip
/xz-java-1.12.zip

View file

@ -2,6 +2,6 @@ summary: Run javapackages-specific tests
discover:
how: fmf
url: https://gitlab.com/redhat/centos-stream/tests/javapackages.git
ref: f43
ref: f42
execute:
how: tmt

View file

@ -1 +1 @@
SHA512 (xz-java-1.12.zip) = ea6b6fa8b7021a3e8caa9b750156078182fcde1c4c9926740fea51827facba8227d3d2fe6c95de7a4e9ce9cda531f4706d9a582a04155ac2eaac36c5f51c8bf7
SHA512 (xz-java-1.9.zip) = 743f81ac715d7ac2760af8cee4c62d8fbeef156c0d3e0e85e4605ae08d6a71d1e6f6675e0558e7906a92d5fb3ca1feab9db015a1d42b5df73de2dec770a339cb

View file

@ -1,7 +1,7 @@
%bcond_with bootstrap
Name: xz-java
Version: 1.12
Version: 1.9
Release: %autorelease
Summary: Java implementation of XZ data compression
License: LicenseRef-Fedora-Public-Domain
@ -14,11 +14,9 @@ Source0: https://tukaani.org/xz/xz-java-%{version}.zip
%if %{with bootstrap}
BuildRequires: javapackages-bootstrap
%else
BuildRequires: javapackages-local-openjdk25
BuildRequires: ant-openjdk25
BuildRequires: javapackages-local
BuildRequires: ant
%endif
# TODO Remove in Fedora 46
Obsoletes: %{name}-javadoc < 1.9-25
%description
A complete implementation of XZ data compression in Java.
@ -28,6 +26,12 @@ single-threaded streamed compression and decompression, single-threaded
decompression with limited random access support, raw streams (no .xz headers)
for advanced users, including LZMA2 with preset dictionary.
%package javadoc
Summary: API documentation for %{name}
%description javadoc
API documentation for %{name}.
%prep
%autosetup -p1 -C
@ -38,15 +42,18 @@ for advanced users, including LZMA2 with preset dictionary.
# package-list from oracle.com. Create a dummy package-list to prevent that.
mkdir -p extdoc && touch extdoc/package-list
%ant -Dsourcever=8 -Dsourcever9=9 maven
%ant -Dsourcever=8 maven
%install
%mvn_artifact build/maven/xz-%{version}.pom build/jar/xz.jar
%mvn_install
%mvn_install -J build/doc
%files -f .mfiles
%doc README.md THANKS.md
%doc README THANKS
%license COPYING
%files javadoc -f .mfiles-javadoc
%license COPYING
%changelog