From 5c7011203250a1b0ca2b0a64a9e4ed945dbd29348c9469732054011e4edf154b Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 13:18:07 +0000 Subject: [PATCH 1/2] Remove superfluous devel dependency for noarch package OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-CacheControl?expand=0&rev=3 --- python-CacheControl.changes | 5 +++++ python-CacheControl.spec | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) 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..bf3601b 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/ # @@ -25,7 +25,6 @@ License: Apache-2.0 Group: Development/Languages/Python 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 From d1e0f943883dce21e469e42ffcc2e0b4bb67632d96cfcdfd72d42384b6be58dd Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 17:10:38 +0000 Subject: [PATCH 2/2] 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}/*