[python-backports-ssl_match_hostname] Update to 3.4.0.1

Ian Weller ianweller at fedoraproject.org
Tue Sep 3 03:55:32 UTC 2013


commit b09ff5c6bfe24b9a58da207b7c9cdefbd4cc8d8c
Author: Ian Weller <ian at ianweller.org>
Date:   Mon Sep 2 22:55:17 2013 -0500

    Update to 3.4.0.1

 .gitignore                                         |    1 +
 ...-cve-2013-2099-fix-ssl-match_hostname-dos.patch |   29 --------------------
 python-backports-ssl_match_hostname.spec           |   23 +++++----------
 sources                                            |    2 +-
 ssl_match_hostname-issue12000.patch                |   24 ----------------
 5 files changed, 10 insertions(+), 69 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index ff9c95e..f419660 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /backports.ssl_match_hostname-3.2a3.tar.gz
+/backports.ssl_match_hostname-3.4.0.1.tar.gz
diff --git a/python-backports-ssl_match_hostname.spec b/python-backports-ssl_match_hostname.spec
index 0195f4f..b102e72 100644
--- a/python-backports-ssl_match_hostname.spec
+++ b/python-backports-ssl_match_hostname.spec
@@ -1,21 +1,13 @@
 %global module_name backports.ssl_match_hostname
-%global alphatag a3
-%global fullversion %{version}%{alphatag}
 
 Name:           python-backports-ssl_match_hostname
-Version:        3.2
-Release:        0.5.%{alphatag}%{?dist}
-Summary:        The ssl.match_hostname() function from Python 3.2
+Version:        3.4.0.1
+Release:        1%{?dist}
+Summary:        The ssl.match_hostname() function from Python 3
 
-# Webpages claim MIT but the code is cut-and-paste from Python source code
 License:        Python
 URL:            https://bitbucket.org/brandon/backports.ssl_match_hostname
-Source0:        http://pypi.python.org/packages/source/b/backports.ssl_match_hostname/backports.ssl_match_hostname-%{fullversion}.tar.gz
-# From the upstream scm
-Patch0:         ssl_match_hostname-issue12000.patch
-# Slightly modified version of patch against python3.2+
-# http://bugs.python.org/issue17980#msg189525
-Patch1:         00183-cve-2013-2099-fix-ssl-match_hostname-dos.patch
+Source0:        http://pypi.python.org/packages/source/b/%{module_name}/%{module_name}-%{version}.tar.gz
 
 BuildArch:      noarch
 BuildRequires:  python2-devel
@@ -37,9 +29,7 @@ The actual code inside comes verbatim from Python 3.2.
 
 
 %prep
-%setup -qn %{module_name}-%{fullversion}
-%patch0 -p1
-%patch1 -p1
+%setup -qn %{module_name}-%{version}
 mv src/backports/ssl_match_hostname/README.txt ./
 
 
@@ -58,6 +48,9 @@ rm %{buildroot}%{python_sitelib}/backports/__init__.py*
 
 
 %changelog
+* Mon Sep 02 2013 Ian Weller <iweller at redhat.com> - 3.4.0.1-1
+- Update to upstream 3.4.0.1
+
 * Mon Aug 19 2013 Ian Weller <iweller at redhat.com> - 3.2-0.5.a3
 - Use python-backports instead of providing backports/__init__.py
 
diff --git a/sources b/sources
index e4fd269..c41e5d7 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-42adbd3c15d78eb6b7b7c654ec5c717c  backports.ssl_match_hostname-3.2a3.tar.gz
+a7402a991cce1e00c30df0142d511458  backports.ssl_match_hostname-3.4.0.1.tar.gz


More information about the scm-commits mailing list