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 - 1.10.4-1.20150503gita91975b$a +* Tue May 19 2015 Ralph Bean - 1.10.4-2.20150503gita91975b +- Specify symlinks for six.py{c,o}, fixing rhbz #1222142. + +* Sun May 03 2015 Ralph Bean - 1.10.4-1.20150503gita91975b - Latest release for python-requests-2.7.0 * Wed Apr 29 2015 Ralph Bean - 1.10.3-2.20150429git585983a