From f10fe590d1efbbec2a26858f6ec4c3a9d17dada68adf76e589daba8e93c43e43 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 14:00:29 +0000 Subject: [PATCH 1/4] Remove superfluous devel dependency for noarch package OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-retrying?expand=0&rev=8 --- python-retrying.changes | 5 +++++ python-retrying.spec | 5 ++--- 2 files changed, 7 insertions(+), 3 deletions(-) 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..ccdcfdb 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/ # @@ -25,7 +25,6 @@ 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} BuildRequires: python-rpm-macros Requires: python-six >= 1.7.0 BuildRoot: %{_tmppath}/%{name}-%{version}-build From 8acc080e2eac392c6230be161288bd160b89ecc389eeb35b7a802cb1d951888f Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 17:21:36 +0000 Subject: [PATCH 2/4] Clean up the SPEC file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-retrying?expand=0&rev=9 --- python-retrying.spec | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/python-retrying.spec b/python-retrying.spec index ccdcfdb..fec1f73 100644 --- a/python-retrying.spec +++ b/python-retrying.spec @@ -23,13 +23,11 @@ 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 +URL: https://github.com/rholder/retrying +Source: https://files.pythonhosted.org/packages/source/r/retrying/retrying-%{version}.tar.gz BuildRequires: python-rpm-macros Requires: python-six >= 1.7.0 -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch - %python_subpackages %description @@ -46,8 +44,8 @@ simplify the task of adding retry behavior to just about anything. %python_install %files %{python_files} -%defattr(-,root,root,-) -%doc AUTHORS.rst LICENSE README.rst +%license LICENSE +%doc AUTHORS.rst README.rst %{python_sitelib}/* %changelog From f30f4735595143fba0239014af55c17d16d6dd4e09c4c1fa6048080ce1915858 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 6 Dec 2018 23:14:43 +0000 Subject: [PATCH 3/4] Fix BR OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-retrying?expand=0&rev=10 --- python-retrying.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/python-retrying.spec b/python-retrying.spec index fec1f73..94f9009 100644 --- a/python-retrying.spec +++ b/python-retrying.spec @@ -25,6 +25,7 @@ License: Apache-2.0 Group: Development/Languages/Python URL: https://github.com/rholder/retrying Source: https://files.pythonhosted.org/packages/source/r/retrying/retrying-%{version}.tar.gz +BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-six >= 1.7.0 BuildArch: noarch @@ -42,6 +43,7 @@ simplify the task of adding retry behavior to just about anything. %install %python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} %files %{python_files} %license LICENSE From 1c9d907640acf2b29e761b675d706484e198121ba3df2c1f53e187341c249229 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 6 Dec 2018 23:23:16 +0000 Subject: [PATCH 4/4] Really do fix that BR OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-retrying?expand=0&rev=11 --- python-retrying.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/python-retrying.spec b/python-retrying.spec index 94f9009..30bf70f 100644 --- a/python-retrying.spec +++ b/python-retrying.spec @@ -25,6 +25,7 @@ License: Apache-2.0 Group: Development/Languages/Python 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