diff --git a/python-CacheControl.changes b/python-CacheControl.changes index 010a45b..fa507f2 100644 --- a/python-CacheControl.changes +++ b/python-CacheControl.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Dec 4 12:46:22 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + ------------------------------------------------------------------- Fri Mar 23 15:11:34 UTC 2018 - tbechtold@suse.com diff --git a/python-CacheControl.spec b/python-CacheControl.spec index 1a4209c..88c87fb 100644 --- a/python-CacheControl.spec +++ b/python-CacheControl.spec @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -23,22 +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 devel} 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 @@ -60,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}/*