Update patch to find ca_certs in the correct place.

This commit is contained in:
Ralph Bean 2013-10-28 12:53:51 -04:00
parent 4a646b98e0
commit 4670672fa3
2 changed files with 5 additions and 2 deletions

View File

@ -18,7 +18,7 @@ index 691d4e2..551b6fd 100644
- key_file=None, cert_file=None, cert_reqs=None, - key_file=None, cert_file=None, cert_reqs=None,
- ca_certs=None, ssl_version=None, - ca_certs=None, ssl_version=None,
+ key_file=None, cert_file=None, cert_reqs=ssl.CERT_REQUIRED, + key_file=None, cert_file=None, cert_reqs=ssl.CERT_REQUIRED,
+ ca_certs='/etc/ssl/certs/ca-certificates.crt', ssl_version=None, + ca_certs='/etc/ssl/certs/ca-bundle.crt', ssl_version=None,
assert_hostname=None, assert_fingerprint=None): assert_hostname=None, assert_fingerprint=None):
HTTPConnectionPool.__init__(self, host, port, strict, timeout, maxsize, HTTPConnectionPool.__init__(self, host, port, strict, timeout, maxsize,

View File

@ -8,7 +8,7 @@
Name: python-%{srcname} Name: python-%{srcname}
Version: 1.7.1 Version: 1.7.1
Release: 1%{?dist} Release: 2%{?dist}
Summary: Python HTTP library with thread-safe connection pooling and file post Summary: Python HTTP library with thread-safe connection pooling and file post
License: MIT License: MIT
@ -131,6 +131,9 @@ popd
%endif # with_python3 %endif # with_python3
%changelog %changelog
* Mon Oct 28 2013 Ralph Bean <rbean@redhat.com> - 1.7.1-2
- Update patch to find ca_certs in the correct location.
* Wed Sep 25 2013 Ralph Bean <rbean@redhat.com> - 1.7.1-1 * Wed Sep 25 2013 Ralph Bean <rbean@redhat.com> - 1.7.1-1
- Latest upstream with support for a new timeout class and py3.4. - Latest upstream with support for a new timeout class and py3.4.