Fix FTBFS (weak crypto in test data)

This commit is contained in:
Michael Simacek 2018-03-19 13:31:28 +01:00
parent 4724d8cda3
commit 4eb97a2f3f

View File

@ -4,7 +4,7 @@
Name: httpcomponents-client
Summary: HTTP agent implementation based on httpcomponents HttpCore
Version: 4.5.5
Release: 3%{?dist}
Release: 4%{?dist}
License: ASL 2.0
URL: http://hc.apache.org/
Source0: http://www.apache.org/dist/httpcomponents/httpclient/source/%{name}-%{version}-src.tar.gz
@ -71,6 +71,9 @@ Summary: API documentation for %{name}
%pom_remove_plugin :maven-source-plugin
%pom_remove_plugin :maven-javadoc-plugin
# Fails due to strict crypto policy - uses DSA in test data
rm httpclient/src/test/java/org/apache/http/conn/ssl/TestSSLSocketFactory.java
# Don't compile/run httpclient-cache tests - they are incompatible with EasyMock 3.3
%pom_remove_plugin org.apache.maven.plugins:maven-jar-plugin httpclient-cache
%pom_remove_dep org.easymock:easymockclassextension
@ -182,6 +185,9 @@ rm -r httpclient-cache/src/*/java/org/apache/http/impl/client/cache/ehcache
%doc LICENSE.txt NOTICE.txt
%changelog
* Mon Mar 19 2018 Michael Simacek <msimacek@redhat.com> - 4.5.5-4
- Fix FTBFS (weak crypto in test data)
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.5.5-3
- Escape macros in %%changelog