14
0
2018-12-04 17:21:03 +00:00
committed by Git OBS Bridge
parent 35db5d8f4a
commit 079a87471c

View File

@@ -17,22 +17,19 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-requests-cache Name: python-requests-cache
Version: 0.4.13 Version: 0.4.13
Release: 0 Release: 0
Summary: Persistent cache for requests library Summary: Persistent cache for requests library
License: BSD-2-Clause License: BSD-2-Clause
Group: Development/Languages/Python Group: Development/Languages/Python
Url: https://github.com/reclosedev/requests-cache URL: https://github.com/reclosedev/requests-cache
Source: https://files.pythonhosted.org/packages/source/r/requests-cache/requests-cache-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/r/requests-cache/requests-cache-%{version}.tar.gz
BuildRequires: %{python_module requests >= 1.1.0} BuildRequires: %{python_module requests >= 1.1.0}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-requests >= 1.1.0 Requires: python-requests >= 1.1.0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch BuildArch: noarch
%python_subpackages %python_subpackages
%description %description
@@ -53,17 +50,17 @@ take a look at `httpcache <https://github.com/Lukasa/httpcache>`_ and
%setup -q -n requests-cache-%{version} %setup -q -n requests-cache-%{version}
%build %build
%{python_build} %python_build
%install %install
%{python_install} %python_install
%check %check
%python_exec setup.py test %python_exec setup.py test
%files %{python_files} %files %{python_files}
%defattr(-,root,root,-) %license LICENSE
%doc README.rst LICENSE %doc README.rst
%{python_sitelib}/* %{python_sitelib}/*
%changelog %changelog