From 833868fdad2ccc7ca4ececc4fe4507ef459908be8e0febae59e179f0a6dec283 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 13:18:20 +0000 Subject: [PATCH 1/2] Remove superfluous devel dependency for noarch package OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cachetools?expand=0&rev=9 --- python-cachetools.changes | 5 +++++ python-cachetools.spec | 5 ++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/python-cachetools.changes b/python-cachetools.changes index 719c379..9ea70e9 100644 --- a/python-cachetools.changes +++ b/python-cachetools.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Dec 4 12:46:24 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + ------------------------------------------------------------------- Wed Aug 16 13:51:39 UTC 2017 - toddrme2178@gmail.com diff --git a/python-cachetools.spec b/python-cachetools.spec index b1b9602..59bf0c2 100644 --- a/python-cachetools.spec +++ b/python-cachetools.spec @@ -1,7 +1,7 @@ # # spec file for package python-cachetools # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -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/ # @@ -26,7 +26,6 @@ License: MIT Group: Development/Languages/Python Url: https://github.com/tkem/cachetools Source: https://files.pythonhosted.org/packages/source/c/cachetools/cachetools-%{version}.tar.gz -BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros From 679630df49e4e5a6c0a7b037cc822ce17c11cd92a6e6b20d3894d3eb73df3baf Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 17:10:49 +0000 Subject: [PATCH 2/2] Clean up the SPEC file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cachetools?expand=0&rev=10 --- python-cachetools.spec | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/python-cachetools.spec b/python-cachetools.spec index 59bf0c2..d9d02e7 100644 --- a/python-cachetools.spec +++ b/python-cachetools.spec @@ -24,13 +24,12 @@ Release: 0 Summary: Extensible memoizing collections and decorators License: MIT Group: Development/Languages/Python -Url: https://github.com/tkem/cachetools +URL: https://github.com/tkem/cachetools Source: https://files.pythonhosted.org/packages/source/c/cachetools/cachetools-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch - %python_subpackages %description @@ -54,8 +53,8 @@ function decorator. %endif %files %{python_files} -%defattr(-,root,root,-) -%doc CHANGES.rst LICENSE README.rst +%license LICENSE +%doc CHANGES.rst README.rst %{python_sitelib}/* %changelog