From 6332b687df27501a7a6de7a61e0f973b0b9ec06d Mon Sep 17 00:00:00 2001 From: Miro Hrončok Date: Sep 17 2017 18:39:21 +0000 Subject: Use python2- (Build)Requires --- diff --git a/python-requests-cache.spec b/python-requests-cache.spec index 0df5b2d..79c8f64 100644 --- a/python-requests-cache.spec +++ b/python-requests-cache.spec @@ -12,9 +12,9 @@ URL: https://github.com/reclosedev/requests-cache Source0: https://files.pythonhosted.org/packages/source/r/%{pypi_name}/%{pypi_name}-%{version}.tar.gz BuildArch: noarch -BuildRequires: python-devel -BuildRequires: python-requests -BuildRequires: python-sphinx +BuildRequires: python2-devel +BuildRequires: python2-requests +BuildRequires: python2-sphinx %if %{?with_python3} BuildRequires: python3-devel @@ -30,7 +30,7 @@ cache for the requests (version >= 1.1.0) library. %package -n python2-%{pypi_name} Summary: %summary -Requires: python-requests >= 1.1.0 +Requires: python2-requests >= 1.1.0 %{?python_provide:%python_provide python2-%{pypi_name}} %description -n python2-%{pypi_name} %_description @@ -126,6 +126,7 @@ sed -i 's/\r$//' LICENSE * Sun Sep 17 2017 Miro Hrončok - 0.4.13-1 - Updated to 0.4.13 (#1324920) - Fixed Source0 URL +- Use python2- (Build)Requires * Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek - 0.4.6-10 - Python 2 binary package renamed to python2-requests-cache