Allow building against Java 11

This commit is contained in:
Mat Booth 2020-06-19 23:52:58 +01:00
parent b872e64a64
commit 1b0b5df0d2

View File

@ -1,6 +1,6 @@
Name: xz-java
Version: 1.8
Release: 6%{?dist}
Release: 7%{?dist}
Summary: Java implementation of XZ data compression
License: Public Domain
URL: http://tukaani.org/xz/java.html
@ -28,6 +28,9 @@ This package contains the API documentation for %{name}.
%prep
%setup -q -c %{name}-%{version}
# disable javadoc linting
sed -i -e '/<javadoc/aadditionalparam="-Xdoclint:none"' build.xml
%mvn_file : %{name} xz
%build
@ -35,7 +38,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
ant maven -Dsourcever=1.8
%install
%mvn_artifact build/maven/xz-%{version}.pom build/jar/xz.jar
@ -50,6 +53,9 @@ ant maven
%license COPYING
%changelog
* Fri Jun 19 2020 Mat Booth <mat.booth@redhat.com> - 1.8-7
- Allow building against Java 11
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.8-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild