Fix RPM release and sourcever build property

This commit is contained in:
Mikolaj Izdebski 2021-10-04 12:14:04 +02:00
parent 0e63ee4565
commit 8c29e93fd7

View File

@ -2,7 +2,7 @@
Name: xz-java
Version: 1.9
Release: 11%{?dist}
Release: 1%{?dist}
Summary: Java implementation of XZ data compression
License: Public Domain
URL: http://tukaani.org/xz/java.html
@ -41,7 +41,7 @@ This package contains the API documentation for %{name}.
# package-list from oracle.com. Create a dummy package-list to prevent that.
mkdir -p extdoc && touch extdoc/package-list
%ant maven -Dsourcever=11
%ant maven
%install
%mvn_artifact build/maven/xz-%{version}.pom build/jar/xz.jar