diff --git a/python-CacheControl.spec b/python-CacheControl.spec index bf3601b..88c87fb 100644 --- a/python-CacheControl.spec +++ b/python-CacheControl.spec @@ -23,21 +23,20 @@ Release: 0 Summary: httplib2 caching for requests License: Apache-2.0 Group: Development/Languages/Python -Url: https://github.com/ionrock/cachecontrol +URL: https://github.com/ionrock/cachecontrol Source: https://files.pythonhosted.org/packages/source/C/CacheControl/CacheControl-%{version}.tar.gz BuildRequires: %{python_module setuptools} -BuildRequires: python-rpm-macros -# SECTION test requirements -BuildRequires: %{python_module msgpack-python} -BuildRequires: %{python_module requests} -# /SECTION BuildRequires: fdupes +BuildRequires: python-rpm-macros Requires: python-msgpack-python Requires: python-requests Suggests: python-lockfile >= 0.9 Suggests: python-redis >= 2.10.5 BuildArch: noarch - +# SECTION test requirements +BuildRequires: %{python_module msgpack-python} +BuildRequires: %{python_module requests} +# /SECTION %python_subpackages %description @@ -59,7 +58,8 @@ terms of caching. %python_expand %fdupes %{buildroot}%{$python_sitelib} %files %{python_files} -%doc LICENSE.txt README.rst +%license LICENSE.txt +%doc README.rst %python3_only %{_bindir}/doesitcache %{python_sitelib}/*