ralph pushed to python-urllib3 (f22). "Specify symlinks for six.py{c, o}"

notifications at fedoraproject.org notifications at fedoraproject.org
Thu May 28 17:43:12 UTC 2015


From 7e15819439da2f608b18ac287ccaaabf14cb2903 Mon Sep 17 00:00:00 2001
From: Ralph Bean <rbean at redhat.com>
Date: Tue, 19 May 2015 09:46:18 -0400
Subject: Specify symlinks for six.py{c,o}


diff --git a/python-urllib3.spec b/python-urllib3.spec
index 1572505..91da2cc 100644
--- a/python-urllib3.spec
+++ b/python-urllib3.spec
@@ -19,7 +19,7 @@
 
 Name:           python-%{srcname}
 Version:        1.10.4
-Release:        1.%{checkout}%{?dist}
+Release:        2.%{checkout}%{?dist}
 Summary:        Python HTTP library with thread-safe connection pooling and file post
 
 License:        MIT
@@ -109,6 +109,8 @@ rm -rf %{buildroot}/%{python2_sitelib}/urllib3/packages/ssl_match_hostname/
 
 mkdir -p %{buildroot}/%{python2_sitelib}/urllib3/packages/
 ln -s ../../six.py %{buildroot}/%{python2_sitelib}/urllib3/packages/six.py
+ln -s ../../six.pyc %{buildroot}/%{python2_sitelib}/urllib3/packages/six.pyc
+ln -s ../../six.pyo %{buildroot}/%{python2_sitelib}/urllib3/packages/six.pyo
 ln -s ../../backports/ssl_match_hostname %{buildroot}/%{python2_sitelib}/urllib3/packages/ssl_match_hostname
 
 # Copy in six.py just for the test suite.
@@ -129,6 +131,8 @@ rm -rf %{buildroot}/%{python3_sitelib}/urllib3/packages/ssl_match_hostname/
 
 mkdir -p %{buildroot}/%{python3_sitelib}/urllib3/packages/
 ln -s ../../six.py %{buildroot}/%{python3_sitelib}/urllib3/packages/six.py
+ln -s ../../six.pyc %{buildroot}/%{python3_sitelib}/urllib3/packages/six.pyc
+ln -s ../../six.pyo %{buildroot}/%{python3_sitelib}/urllib3/packages/six.pyo
 cp %{SOURCE1} %{buildroot}/%{python3_sitelib}/urllib3/packages/ssl_match_hostname.py
 
 # Copy in six.py just for the test suite.
@@ -175,7 +179,10 @@ rm -rf %{buildroot}/%{python3_sitelib}/__pycache__*
 %endif # with_python3
 
 %changelog
-* Sun May 03 2015 Ralph Bean <rbean at redhat.com> - 1.10.4-1.20150503gita91975b$a
+* Tue May 19 2015 Ralph Bean <rbean at redhat.com> - 1.10.4-2.20150503gita91975b
+- Specify symlinks for six.py{c,o}, fixing rhbz #1222142.
+
+* Sun May 03 2015 Ralph Bean <rbean at redhat.com> - 1.10.4-1.20150503gita91975b
 - Latest release for python-requests-2.7.0
 
 * Wed Apr 29 2015 Ralph Bean <rbean at redhat.com> - 1.10.3-2.20150429git585983a
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/python-urllib3.git/commit/?h=f22&id=7e15819439da2f608b18ac287ccaaabf14cb2903


More information about the scm-commits mailing list