diff --git a/python-retrying.changes b/python-retrying.changes index 1b9cf04..3691e7f 100644 --- a/python-retrying.changes +++ b/python-retrying.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Dec 4 12:53:52 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + ------------------------------------------------------------------- Sat Aug 26 15:09:39 UTC 2017 - jengelh@inai.de diff --git a/python-retrying.spec b/python-retrying.spec index 61f9d7b..30bf70f 100644 --- a/python-retrying.spec +++ b/python-retrying.spec @@ -1,7 +1,7 @@ # # spec file for package python-retrying # -# 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/ # @@ -23,14 +23,13 @@ Release: 0 Summary: Retrying License: Apache-2.0 Group: Development/Languages/Python -Url: https://github.com/rholder/retrying -Source: https://pypi.python.org/packages/source/r/retrying/retrying-%{version}.tar.gz -BuildRequires: %{python_module devel} +URL: https://github.com/rholder/retrying +Source: https://files.pythonhosted.org/packages/source/r/retrying/retrying-%{version}.tar.gz +BuildRequires: %{python_module base} +BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-six >= 1.7.0 -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch - %python_subpackages %description @@ -45,10 +44,11 @@ simplify the task of adding retry behavior to just about anything. %install %python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} %files %{python_files} -%defattr(-,root,root,-) -%doc AUTHORS.rst LICENSE README.rst +%license LICENSE +%doc AUTHORS.rst README.rst %{python_sitelib}/* %changelog