From ff87e9e35b732b53208f9cea0c0aa4585d5aa52cd1a4a01c7fcd384d16df6bc3 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 14:14:10 +0000 Subject: [PATCH 1/2] Remove superfluous devel dependency for noarch package OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-whichcraft?expand=0&rev=5 --- python-whichcraft.changes | 5 +++++ python-whichcraft.spec | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/python-whichcraft.changes b/python-whichcraft.changes index 8e8ca96..0a5dfcd 100644 --- a/python-whichcraft.changes +++ b/python-whichcraft.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Dec 4 12:56:02 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + ------------------------------------------------------------------- Sun Mar 4 10:46:17 UTC 2018 - jengelh@inai.de diff --git a/python-whichcraft.spec b/python-whichcraft.spec index dfec138..7d4d8b8 100644 --- a/python-whichcraft.spec +++ b/python-whichcraft.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/ # @@ -26,7 +26,6 @@ License: BSD-3-Clause Group: Development/Languages/Python Url: https://github.com/pydanny/whichcraft Source: https://files.pythonhosted.org/packages/source/w/whichcraft/whichcraft-%{version}.tar.gz -BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros From b58a8105850f6037ddb20501fab0907fcf98f94cf125983c04123ab1a7569e7e Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 17:25:47 +0000 Subject: [PATCH 2/2] Clean up the SPEC file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-whichcraft?expand=0&rev=6 --- python-whichcraft.spec | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/python-whichcraft.spec b/python-whichcraft.spec index 7d4d8b8..9c6bb34 100644 --- a/python-whichcraft.spec +++ b/python-whichcraft.spec @@ -24,16 +24,15 @@ Release: 0 Summary: Cross-python shutil.which functionality License: BSD-3-Clause Group: Development/Languages/Python -Url: https://github.com/pydanny/whichcraft +URL: https://github.com/pydanny/whichcraft Source: https://files.pythonhosted.org/packages/source/w/whichcraft/whichcraft-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros +BuildArch: noarch %if %{with test} BuildRequires: %{python_module pytest} %endif -BuildArch: noarch - %python_subpackages %description @@ -58,8 +57,8 @@ Python 3 code that was extracted from source. %endif %files %{python_files} -%defattr(-,root,root,-) -%doc AUTHORS.rst HISTORY.rst LICENSE README.rst +%license LICENSE +%doc AUTHORS.rst HISTORY.rst README.rst %{python_sitelib}/* %changelog