diff --git a/python-requests-cache.spec b/python-requests-cache.spec index 6c34400..153c761 100644 --- a/python-requests-cache.spec +++ b/python-requests-cache.spec @@ -15,9 +15,6 @@ BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-requests BuildRequires: python3-sphinx -# Python 2 -BuildRequires: python2-devel -BuildRequires: python2-requests %global _description\ Requests-cache is a transparent persistent\ @@ -34,15 +31,6 @@ Requires: python3-requests >= 1.1.0 Requests-cache is a transparent persistent cache for the requests (version >= 1.1.0) library. -%package -n python2-%{pypi_name} -Summary: Persistent cache for requests library - -Requires: python2-requests >= 1.1.0 - -%description -n python2-%{pypi_name} -Requests-cache is a transparent persistent -cache for the requests (version >= 1.1.0) library. - %prep %autosetup -n %{pypi_name}-%{version} @@ -63,13 +51,11 @@ rm -rf html/.{doctrees,buildinfo} %build -%py2_build %py3_build %install %py3_install -%py2_install # Fix rpmlints: for lib in `find %{buildroot}%{python3_sitelib}/requests_cache -name '*.py' -print`; do @@ -88,12 +74,6 @@ sed -i 's/\r$//' LICENSE %{python3_sitelib}/requests_cache %{python3_sitelib}/requests_cache-%{version}* -%files -n python2-%{pypi_name} -%doc html README.rst -%license LICENSE -%{python2_sitelib}/requests_cache -%{python2_sitelib}/requests_cache-%{version}* - %changelog * Wed Aug 14 2019 Richard Shaw - 0.5.1-1