diff --git a/python-requests-cache.spec b/python-requests-cache.spec index 849c13f..c889cd6 100644 --- a/python-requests-cache.spec +++ b/python-requests-cache.spec @@ -17,27 +17,24 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} - Name: python-requests-cache Version: 0.4.13 Release: 0 Summary: Persistent cache for requests library License: BSD-2-Clause 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 BuildRequires: %{python_module requests >= 1.1.0} BuildRequires: %{python_module setuptools} BuildRequires: python-rpm-macros Requires: python-requests >= 1.1.0 -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch - %python_subpackages %description Requests-cache is a transparent persistent cache for requests_ (version >= 1.1.0) library. - + It can be useful when you are creating some simple data scraper with constantly changing parsing logic or data format, and don't want to redownload pages or write complex error handling and persistence. @@ -53,17 +50,17 @@ take a look at `httpcache `_ and %setup -q -n requests-cache-%{version} %build -%{python_build} +%python_build %install -%{python_install} +%python_install %check %python_exec setup.py test %files %{python_files} -%defattr(-,root,root,-) -%doc README.rst LICENSE +%license LICENSE +%doc README.rst %{python_sitelib}/* %changelog