[packages/python-backports-ssl_match_hostname] up to 3.5.0.1

glen glen at pld-linux.org
Sun Mar 20 18:40:50 CET 2016


commit 3fc59a8cb058d8e85f8deea7930183882b98679a
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Mar 20 19:40:22 2016 +0200

    up to 3.5.0.1

 python-backports-ssl_match_hostname.spec | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)
---
diff --git a/python-backports-ssl_match_hostname.spec b/python-backports-ssl_match_hostname.spec
index 845036e..f85ef0c 100644
--- a/python-backports-ssl_match_hostname.spec
+++ b/python-backports-ssl_match_hostname.spec
@@ -1,13 +1,13 @@
 %define		module_name	backports.ssl_match_hostname
 Summary:	The ssl.match_hostname() function from Python 3
 Name:		python-backports-ssl_match_hostname
-Version:	3.4.0.2
+Version:	3.5.0.1
 Release:	1
 License:	Python
 Group:		Libraries/Python
+# Source0Download: https://pypi.python.org/pypi/backports.ssl_match_hostname
 Source0:	http://pypi.python.org/packages/source/b/%{module_name}/%{module_name}-%{version}.tar.gz
-# Source0-md5:	788214f20214c64631f0859dc79f23c6
-Patch0:		namespace.patch
+# Source0-md5:	c03fc5e2c7b3da46b81acf5cbacfe1e6
 URL:		https://bitbucket.org/brandon/backports.ssl_match_hostname
 BuildRequires:	python-setuptools
 BuildRequires:	rpm-pythonprov
@@ -33,10 +33,9 @@ Python. The actual code inside comes verbatim from Python 3.2.
 
 %prep
 %setup -qn %{module_name}-%{version}
-%patch0 -p1
 
-mv src/backports/ssl_match_hostname/README.txt .
-mv src/backports/ssl_match_hostname/LICENSE.txt .
+mv backports/ssl_match_hostname/*.txt .
+touch backports/ssl_match_hostname/README.txt
 
 %build
 %py_build
@@ -44,7 +43,6 @@ mv src/backports/ssl_match_hostname/LICENSE.txt .
 %install
 rm -rf $RPM_BUILD_ROOT
 %py_install
-
 %py_postclean
 
 %clean
@@ -53,6 +51,6 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc README.txt LICENSE.txt
+%{py_sitescriptdir}/backports/__init__.py[co]
 %{py_sitescriptdir}/backports/ssl_match_hostname
-%{py_sitescriptdir}/backports.ssl_match_hostname-%{version}-py*-nspkg.pth
 %{py_sitescriptdir}/backports.ssl_match_hostname-%{version}-py*.egg-info
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-backports-ssl_match_hostname.git/commitdiff/3fc59a8cb058d8e85f8deea7930183882b98679a



More information about the pld-cvs-commit mailing list