From d1e0f943883dce21e469e42ffcc2e0b4bb67632d96cfcdfd72d42384b6be58dd Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 17:10:38 +0000 Subject: [PATCH] Clean up the SPEC file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-CacheControl?expand=0&rev=4 --- python-CacheControl.spec | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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}/*