Build with default JDK 17

This commit is contained in:
Mikolaj Izdebski 2023-08-15 10:21:27 +02:00
parent 6139d6978d
commit 93ca699d87

View File

@ -3,7 +3,7 @@
Name: httpcomponents-core
Summary: Set of low level Java HTTP transport components for HTTP services
Version: 4.4.13
Release: 9%{?dist}
Release: 10%{?dist}
License: ASL 2.0
URL: http://hc.apache.org/
Source0: https://www.apache.org/dist/httpcomponents/httpcore/source/httpcomponents-core-%{version}-src.tar.gz
@ -13,9 +13,9 @@ BuildArch: noarch
ExclusiveArch: %{java_arches} noarch
%if %{with bootstrap}
BuildRequires: javapackages-bootstrap-openjdk8
BuildRequires: javapackages-bootstrap
%else
BuildRequires: maven-local-openjdk8
BuildRequires: maven-local
BuildRequires: mvn(commons-logging:commons-logging)
BuildRequires: mvn(junit:junit)
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
@ -86,7 +86,7 @@ done
%mvn_file ":{*}" httpcomponents/@1
%build
%mvn_build
%mvn_build -- -Dmaven.compiler.release=8
%install
%mvn_install
@ -96,6 +96,9 @@ done
%doc README.txt RELEASE_NOTES.txt
%changelog
* Tue Aug 15 2023 Mikolaj Izdebski <mizdebsk@redhat.com> - 4.4.13-10
- Build with default JDK 17
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 4.4.13-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild