diff --git python-CacheControl/python-CacheControl.spec python-CacheControl/python-CacheControl.spec.tmp index 8ded8d5728..636c4b5a41 100644 --- python-CacheControl/python-CacheControl.spec +++ python-CacheControl/python-CacheControl.spec.tmp @@ -5,7 +5,7 @@ Name: python-%{pypi_name} Version: 0.11.5 -Release: 7%{?dist} +Release: 8%{?dist} Summary: httplib2 caching for requests License: MIT @@ -25,13 +25,20 @@ BuildRequires: python-redis BuildRequires: python-requests BuildRequires: python-webtest +%global _description\ +CacheControl is a port of the caching algorithms in httplib2_ for use with\ +requests_ session object. It was written because httplib2's better support\ +for caching is often mitigated by its lack of threadsafety. The same is\ +true of requests in terms of caching. + +%description %_description + +%package -n python2-cachecontrol +Summary: %summary Requires: python-requests +%{?python_provide:%python_provide python2-cachecontrol} -%description -CacheControl is a port of the caching algorithms in httplib2_ for use with -requests_ session object. It was written because httplib2's better support -for caching is often mitigated by its lack of threadsafety. The same is -true of requests in terms of caching. +%description -n python2-cachecontrol %_description %if 0%{?with_python3} %package -n python3-%{pypi_name} @@ -106,7 +113,7 @@ popd %endif # with_python3 -%files +%files -n python2-cachecontrol %doc README.rst %{python2_sitelib}/%{pypi_name_lower} %{python2_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info @@ -120,6 +127,10 @@ popd %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.11.5-8 +- Python 2 binary package renamed to python2-cachecontrol + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.11.5-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild