diff --git a/httpcomponents-client.spec b/httpcomponents-client.spec index 875789f..e4b6c89 100644 --- a/httpcomponents-client.spec +++ b/httpcomponents-client.spec @@ -4,7 +4,7 @@ Name: httpcomponents-client Summary: HTTP agent implementation based on httpcomponents HttpCore Version: 4.5.10 -Release: 5%{?dist} +Release: 6%{?dist} License: ASL 2.0 URL: http://hc.apache.org/ 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 %endif -%build %mvn_file ":{*}" httpcomponents/@1 -%mvn_build +%build +%mvn_build -- -Dmaven.compiler.release=8 %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 %changelog +* Wed Feb 17 2021 Fabio Valentini - 4.5.10-6 +- Build with -release 8 for better OpenJDK 8 compatibility. + * Tue Jan 26 2021 Fedora Release Engineering - 4.5.10-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild