build with -release 8 for better OpenJDK 8 compatibility
This commit is contained in:
parent
ff59ff03e0
commit
574e9be7fd
@ -4,7 +4,7 @@
|
|||||||
Name: httpcomponents-client
|
Name: httpcomponents-client
|
||||||
Summary: HTTP agent implementation based on httpcomponents HttpCore
|
Summary: HTTP agent implementation based on httpcomponents HttpCore
|
||||||
Version: 4.5.10
|
Version: 4.5.10
|
||||||
Release: 5%{?dist}
|
Release: 6%{?dist}
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
URL: http://hc.apache.org/
|
URL: http://hc.apache.org/
|
||||||
Source0: http://www.apache.org/dist/httpcomponents/httpclient/source/%{name}-%{version}-src.tar.gz
|
Source0: http://www.apache.org/dist/httpcomponents/httpclient/source/%{name}-%{version}-src.tar.gz
|
||||||
@ -155,10 +155,10 @@ rm -r httpclient-cache/src/*/java/org/apache/http/impl/client/cache/ehcache
|
|||||||
%pom_remove_dep :ehcache-core httpclient-cache
|
%pom_remove_dep :ehcache-core httpclient-cache
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%build
|
|
||||||
%mvn_file ":{*}" httpcomponents/@1
|
%mvn_file ":{*}" httpcomponents/@1
|
||||||
|
|
||||||
%mvn_build
|
%build
|
||||||
|
%mvn_build -- -Dmaven.compiler.release=8
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%mvn_install
|
%mvn_install
|
||||||
@ -173,6 +173,9 @@ rm -r httpclient-cache/src/*/java/org/apache/http/impl/client/cache/ehcache
|
|||||||
%doc LICENSE.txt NOTICE.txt
|
%doc LICENSE.txt NOTICE.txt
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Feb 17 2021 Fabio Valentini <decathorpe@gmail.com> - 4.5.10-6
|
||||||
|
- Build with -release 8 for better OpenJDK 8 compatibility.
|
||||||
|
|
||||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.5.10-5
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.5.10-5
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user