From 99ec90654b16190fc347680455cd77aa2449a19e Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Apr 10 2018 05:40:51 +0000 Subject: import python-backports-ssl_match_hostname-3.5.0.1-1.el7 --- diff --git a/.gitignore b/.gitignore index eee6701..9c14913 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/backports.ssl_match_hostname-3.4.0.2.tar.gz +SOURCES/backports.ssl_match_hostname-3.5.0.1.tar.gz diff --git a/.python-backports-ssl_match_hostname.metadata b/.python-backports-ssl_match_hostname.metadata index 6ea0657..b214daf 100644 --- a/.python-backports-ssl_match_hostname.metadata +++ b/.python-backports-ssl_match_hostname.metadata @@ -1 +1 @@ -da4e41f3b110279d2382df47ac1e4f10c63cf954 SOURCES/backports.ssl_match_hostname-3.4.0.2.tar.gz +0567c136707a5f53b95aa793b79cc8d5c61d8e22 SOURCES/backports.ssl_match_hostname-3.5.0.1.tar.gz diff --git a/SPECS/python-backports-ssl_match_hostname.spec b/SPECS/python-backports-ssl_match_hostname.spec index 6a24626..aac78b4 100644 --- a/SPECS/python-backports-ssl_match_hostname.spec +++ b/SPECS/python-backports-ssl_match_hostname.spec @@ -1,8 +1,8 @@ %global module_name backports.ssl_match_hostname Name: python-backports-ssl_match_hostname -Version: 3.4.0.2 -Release: 4%{?dist} +Version: 3.5.0.1 +Release: 1%{?dist} Summary: The ssl.match_hostname() function from Python 3 License: Python @@ -11,8 +11,8 @@ Source0: http://pypi.python.org/packages/source/b/%{module_name}/%{module BuildArch: noarch BuildRequires: python2-devel -BuildRequires: python-setuptools Requires: python-backports +Requires: python-ipaddress %description The Secure Sockets layer is only actually secure if you check the hostname in @@ -25,13 +25,13 @@ a match_hostname() function for performing this check instead of requiring every application to implement the check separately. This backport brings match_hostname() to users of earlier versions of Python. -The actual code inside comes verbatim from Python 3.2. +The actual code is only slightly modified from Python 3.5. %prep %setup -qn %{module_name}-%{version} -mv src/backports/ssl_match_hostname/README.txt ./ -mv src/backports/ssl_match_hostname/LICENSE.txt ./ +cp backports/ssl_match_hostname/README.txt ./ +cp backports/ssl_match_hostname/LICENSE.txt ./ %build @@ -49,6 +49,10 @@ rm %{buildroot}%{python_sitelib}/backports/__init__.py* %changelog +* Tue Oct 10 2017 Iryna Shcherbina - 3.5.0.1-1 +- Update to 3.5.0.1 +Resolves: rhbz#1500373 + * Fri Dec 27 2013 Daniel Mach - 3.4.0.2-4 - Mass rebuild 2013-12-27