From 047849c3b61d5b16b5dcf63bcc996712ad3d0a63dad6a8b507f96d10ba9f04dd Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 13:18:55 +0000 Subject: [PATCH 1/2] Remove superfluous devel dependency for noarch package OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cassowary?expand=0&rev=4 --- python-cassowary.changes | 5 +++++ python-cassowary.spec | 10 +++++----- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/python-cassowary.changes b/python-cassowary.changes index 4e0cf71..c5a48ad 100644 --- a/python-cassowary.changes +++ b/python-cassowary.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Dec 4 12:46:29 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + ------------------------------------------------------------------- Tue Nov 7 18:23:22 UTC 2017 - toddrme2178@gmail.com diff --git a/python-cassowary.spec b/python-cassowary.spec index a2f7269..9879f86 100644 --- a/python-cassowary.spec +++ b/python-cassowary.spec @@ -1,7 +1,7 @@ # # spec file for package python-cassowary # -# 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,8 @@ # 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/ +# %{?!python_module:%define python_module() python-%{**} python3-%{**}} @@ -20,12 +21,11 @@ Name: python-cassowary Version: 0.5.1 Release: 0 -License: BSD-3-Clause Summary: A pure Python implementation of the Cassowary constraint solving algorithm -Url: https://github.com/pybee/cassowary +License: BSD-3-Clause Group: Development/Languages/Python +Url: https://github.com/pybee/cassowary Source: https://files.pythonhosted.org/packages/source/c/cassowary/cassowary-%{version}.tar.gz -BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros From 72ce33baba96e71384e9f0be44afdd63f147331edef6b813b6f5029fcc28932d Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 17:10:59 +0000 Subject: [PATCH 2/2] Clean up the SPEC file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cassowary?expand=0&rev=5 --- python-cassowary.spec | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/python-cassowary.spec b/python-cassowary.spec index 9879f86..243aa4f 100644 --- a/python-cassowary.spec +++ b/python-cassowary.spec @@ -24,13 +24,12 @@ Release: 0 Summary: A pure Python implementation of the Cassowary constraint solving algorithm License: BSD-3-Clause Group: Development/Languages/Python -Url: https://github.com/pybee/cassowary +URL: https://github.com/pybee/cassowary Source: https://files.pythonhosted.org/packages/source/c/cassowary/cassowary-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch - %python_subpackages %description @@ -54,8 +53,8 @@ layout mechanism. %endif %files %{python_files} -%defattr(-,root,root,-) -%doc AUTHORS LICENSE README.rst +%license LICENSE +%doc AUTHORS README.rst %{python_sitelib}/* %changelog