diff --git python-requests-cache/python-requests-cache.spec python-requests-cache/python-requests-cache.spec.tmp index 290e038cef..5161516bac 100644 --- python-requests-cache/python-requests-cache.spec +++ python-requests-cache/python-requests-cache.spec.tmp @@ -4,7 +4,7 @@ Name: python-%{pypi_name} Version: 0.4.6 -Release: 9%{?dist} +Release: 10%{?dist} Summary: Persistent cache for requests library License: BSD @@ -22,11 +22,18 @@ BuildRequires: python3-requests BuildRequires: python3-sphinx %endif # if with_python3 +%global _description\ +Requests-cache is a transparent persistent\ +cache for the requests (version >= 1.1.0) library. + +%description %_description + +%package -n python2-%{pypi_name} +Summary: %summary Requires: python-requests >= 1.1.0 +%{?python_provide:%python_provide python2-%{pypi_name}} -%description -Requests-cache is a transparent persistent -cache for the requests (version >= 1.1.0) library. +%description -n python2-%{pypi_name} %_description %if 0%{?with_python3} %package -n python3-%{pypi_name} @@ -103,7 +110,7 @@ sed -i '1{\@^#!/usr/bin/python@d}' %{buildroot}%{python2_sitelib}/requests_cache sed -i 's/\r$//' html/_static/jquery.js sed -i 's/\r$//' LICENSE -%files +%files -n python2-%{pypi_name} %doc html README.rst LICENSE %{python2_sitelib}/requests_cache %{python2_sitelib}/requests_cache-%{version}* @@ -116,6 +123,10 @@ sed -i 's/\r$//' LICENSE %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.4.6-10 +- Python 2 binary package renamed to python2-requests-cache + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.4.6-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild