From c79ce17afeb23a31edff8c55c040073a91b42e41 Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Tue, 8 Sep 2015 13:04:26 -0400 Subject: [PATCH] Handle this case as well. --- python-urllib3.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/python-urllib3.spec b/python-urllib3.spec index 3a9ee87..f4dd65a 100644 --- a/python-urllib3.spec +++ b/python-urllib3.spec @@ -151,8 +151,12 @@ ln -s ../../backports/ssl_match_hostname %{buildroot}/%{python2_sitelib}/urllib3 %endif # Copy in six.py just for the test suite. +%if 0%{?fedora} >= 22 +cp %{python2_sitelib}/six.* %{buildroot}/%{python2_sitelib}/. +%else cp %{python2_sitelib}/six.* %{buildroot}/%{python2_sitelib}/. cp -r %{python2_sitelib}/backports %{buildroot}/%{python2_sitelib}/. +%endif # dummyserver is part of the unittest framework rm -rf %{buildroot}%{python2_sitelib}/dummyserver