Switch Java compiler source/target to 1.8

Resolves: RHEL-52708
This commit is contained in:
Marian Koncek 2024-02-21 10:48:16 +01:00 committed by Mikolaj Izdebski
parent 2d37421968
commit da4cd2249f

View File

@ -5,11 +5,11 @@ Version: 1.9
Release: 10%{?dist}
Summary: Java implementation of XZ data compression
License: LicenseRef-Fedora-Public-Domain
URL: http://tukaani.org/xz/java.html
URL: https://tukaani.org/xz/java.html
BuildArch: noarch
ExclusiveArch: %{java_arches} noarch
Source0: http://tukaani.org/xz/xz-java-%{version}.zip
Source0: https://tukaani.org/xz/xz-java-%{version}.zip
%if %{with bootstrap}
BuildRequires: javapackages-bootstrap
@ -42,7 +42,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 -Dsourcever=8 maven
%install
%mvn_artifact build/maven/xz-%{version}.pom build/jar/xz.jar
@ -57,6 +57,10 @@ mkdir -p extdoc && touch extdoc/package-list
%license COPYING
%changelog
* Mon Aug 05 2024 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.9-10
- Switch Java compiler source/target to 1.8
- Resolves: RHEL-52708
* Thu Aug 01 2024 Troy Dawson <tdawson@redhat.com> - 1.9-10
- Bump release for Aug 2024 java mass rebuild