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..a9d25ce 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,23 +12,23 @@ # 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: %{python_module base} BuildRequires: fdupes -BuildRequires: unzip BuildRequires: python-rpm-macros -BuildRequires: %{python_module devel} -BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: unzip BuildArch: noarch %python_subpackages @@ -64,7 +64,6 @@ less than 100 lines. %python_expand %fdupes %{buildroot}%{$python_sitelib} %files %{python_files} -%defattr(-,root,root,-) %doc README.txt %{python_sitelib}/*