[python-urllib3/f18] Update patch to find ca_certs in the correct place.

Ralph Bean ralph at fedoraproject.org
Mon Oct 28 17:13:57 UTC 2013


commit 3df0026b20fff816d718aef192844f712ebb2b14
Author: Ralph Bean <rbean at redhat.com>
Date:   Mon Oct 28 13:14:00 2013 -0400

    Update patch to find ca_certs in the correct place.

 python-urllib3-default-ssl-cert-validate.patch |    2 +-
 python-urllib3.spec                            |    5 ++++-
 2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/python-urllib3-default-ssl-cert-validate.patch b/python-urllib3-default-ssl-cert-validate.patch
index 2455459..38eea0f 100644
--- a/python-urllib3-default-ssl-cert-validate.patch
+++ b/python-urllib3-default-ssl-cert-validate.patch
@@ -14,7 +14,7 @@ Index: urllib3-1.5/urllib3/connectionpool.py
                   block=False, headers=None,
                   key_file=None, cert_file=None,
 -                 cert_reqs='CERT_NONE', ca_certs=None):
-+                 cert_reqs='CERT_REQUIRED', ca_certs='/etc/ssl/certs/ca-certificates.crt'):
++                 cert_reqs='CERT_REQUIRED', ca_certs='/etc/ssl/certs/ca-bundle.crt'):
  
          super(HTTPSConnectionPool, self).__init__(host, port,
                                                    strict, timeout, maxsize,
diff --git a/python-urllib3.spec b/python-urllib3.spec
index 53dbb36..eef1de7 100644
--- a/python-urllib3.spec
+++ b/python-urllib3.spec
@@ -8,7 +8,7 @@
 
 Name:           python-%{srcname}
 Version:        1.5
-Release:        6%{?dist}
+Release:        7%{?dist}
 Summary:        Python HTTP library with thread-safe connection pooling and file post
 
 License:        MIT
@@ -139,6 +139,9 @@ popd
 %endif # with_python3
 
 %changelog
+* Mon Oct 28 2013 Ralph Bean <rbean at redhat.com> - 1.5-7
+- Update patch to find ca_certs in the correct place.
+
 * Tue Jun 11 2013 Toshio Kuratomi <toshio at fedoraproject.org> - 1.5-6
 - Fix Requires of python-ordereddict to only apply to RHEL
 


More information about the scm-commits mailing list