From b1262ea1c9503741c5735e7736c649fc5edc809fd8aeded5c33775ad09de60ea Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 14:03:57 +0000 Subject: [PATCH] Remove superfluous devel dependency for noarch package OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-simplegeneric?expand=0&rev=7 --- python-simplegeneric.changes | 5 +++++ python-simplegeneric.spec | 12 ++++++------ 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/python-simplegeneric.changes b/python-simplegeneric.changes index 7a75e77..b7a5b12 100644 --- a/python-simplegeneric.changes +++ b/python-simplegeneric.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Dec 4 12:54:20 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + ------------------------------------------------------------------- Tue Apr 25 21:49:49 UTC 2017 - toddrme2178@gmail.com diff --git a/python-simplegeneric.spec b/python-simplegeneric.spec index 8876173..24b7e2a 100644 --- a/python-simplegeneric.spec +++ b/python-simplegeneric.spec @@ -1,7 +1,7 @@ # # spec file for package python-simplegeneric # -# Copyright (c) 2017 SUSE LINUX Products 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,22 +12,22 @@ # 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-%{**}} Name: python-simplegeneric Version: 0.8.1 Release: 0 -License: ZPL-2.1 Summary: Simple generic functions (similar to Python's own len(), pickle.dump(), etc) -Url: http://cheeseshop.python.org/pypi/simplegeneric +License: ZPL-2.1 Group: Development/Languages/Python +Url: http://cheeseshop.python.org/pypi/simplegeneric Source: https://files.pythonhosted.org/packages/source/s/simplegeneric/simplegeneric-%{version}.zip BuildRequires: fdupes -BuildRequires: unzip BuildRequires: python-rpm-macros -BuildRequires: %{python_module devel} +BuildRequires: unzip BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %python_subpackages