From eea9d21df32960c98ec806bfc61d93118dd37ab46cdc91098933e8c5bcd4ef1a Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 13:17:06 +0000 Subject: [PATCH 1/4] Remove superfluous devel dependency for noarch package OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-blinker?expand=0&rev=19 --- python-blinker.changes | 5 +++++ python-blinker.spec | 5 ++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/python-blinker.changes b/python-blinker.changes index 6531aa4..e8da29c 100644 --- a/python-blinker.changes +++ b/python-blinker.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Dec 4 12:46:13 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + ------------------------------------------------------------------- Sun May 7 17:47:40 UTC 2017 - benoit.monin@gmx.fr diff --git a/python-blinker.spec b/python-blinker.spec index 8e3a022..f2d3231 100644 --- a/python-blinker.spec +++ b/python-blinker.spec @@ -1,7 +1,7 @@ # # spec file for package python-blinker # -# 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/ # @@ -26,7 +26,6 @@ License: MIT Group: Development/Languages/Python Source: http://pypi.python.org/packages/source/b/blinker/blinker-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: %{python_module devel} BuildRequires: %{python_module nose} BuildRequires: fdupes BuildRequires: python-rpm-macros From 21b8f0c93f9903209773597882f0e04f729b0376805bcf24c69214523e80ec36 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 17:10:27 +0000 Subject: [PATCH 2/4] Clean up the SPEC file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-blinker?expand=0&rev=20 --- python-blinker.spec | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/python-blinker.spec b/python-blinker.spec index f2d3231..27a76ac 100644 --- a/python-blinker.spec +++ b/python-blinker.spec @@ -20,17 +20,15 @@ Name: python-blinker Version: 1.4 Release: 0 -Url: http://discorporate.us/projects/Blinker/ Summary: Fast, simple object-to-object and broadcast signaling License: MIT Group: Development/Languages/Python -Source: http://pypi.python.org/packages/source/b/blinker/blinker-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-build +URL: http://discorporate.us/projects/Blinker/ +Source: https://files.pythonhosted.org/packages/source/b/blinker/blinker-%{version}.tar.gz BuildRequires: %{python_module nose} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch - %python_subpackages %description @@ -70,13 +68,12 @@ rm docs/html/objects.inv %python_exec %{_bindir}/nosetests %files %{python_files} -%defattr(-,root,root,-) -%doc AUTHORS CHANGES LICENSE README.md +%license LICENSE +%doc AUTHORS CHANGES README.md %{python_sitelib}/blinker-%{version}-py%{python_version}.egg-info %{python_sitelib}/blinker %files -n python-blinker-doc -%defattr(-,root,root,-) %doc docs/html %changelog From cc652dfc629f204024071cdf8572757aa273dbe5ae3ade2c9952be85788b2732 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 5 Dec 2018 08:29:43 +0000 Subject: [PATCH 3/4] Accepting request 654137 from home:jengelh:branches:devel:languages:python - Trim bias from description. OBS-URL: https://build.opensuse.org/request/show/654137 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-blinker?expand=0&rev=21 --- python-blinker.changes | 5 +++++ python-blinker.spec | 10 +++++----- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/python-blinker.changes b/python-blinker.changes index e8da29c..272fb75 100644 --- a/python-blinker.changes +++ b/python-blinker.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Dec 5 01:57:33 UTC 2018 - Jan Engelhardt + +- Trim bias from description. + ------------------------------------------------------------------- Tue Dec 4 12:46:13 UTC 2018 - Matej Cepl diff --git a/python-blinker.spec b/python-blinker.spec index 27a76ac..0e57a8d 100644 --- a/python-blinker.spec +++ b/python-blinker.spec @@ -20,7 +20,7 @@ Name: python-blinker Version: 1.4 Release: 0 -Summary: Fast, simple object-to-object and broadcast signaling +Summary: Object-to-object and broadcast signaling in Python License: MIT Group: Development/Languages/Python URL: http://discorporate.us/projects/Blinker/ @@ -32,7 +32,7 @@ BuildArch: noarch %python_subpackages %description -Blinker provides a fast dispatching system that allows any number of +Blinker provides a dispatching system that allows any number of interested parties to subscribe to events, or "signals". Signal receivers can subscribe to specific senders or receive signals @@ -40,17 +40,17 @@ sent by any sender. %package -n python-blinker-doc Summary: Documentation for %{name} -Group: Development/Languages/Python +Group: Documentation/HTML Provides: %{python_module blinker-doc = %{version}} %description -n python-blinker-doc -Blinker provides a fast dispatching system that allows any number of +Blinker provides a dispatching system that allows any number of interested parties to subscribe to events, or "signals". Signal receivers can subscribe to specific senders or receive signals sent by any sender. -This sub-package contains the html documentation. +This sub-package contains the HTML documentation. %prep %setup -q -n blinker-%{version} From 207e95648429e1aa843b61edca308228ff905aaa8854ae3ce4740bf8113d4b9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Thu, 6 Dec 2018 11:25:03 +0000 Subject: [PATCH 4/4] - Fix fdupes call OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-blinker?expand=0&rev=22 --- python-blinker.changes | 5 +++++ python-blinker.spec | 7 ++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/python-blinker.changes b/python-blinker.changes index 272fb75..258a175 100644 --- a/python-blinker.changes +++ b/python-blinker.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Dec 6 11:24:47 UTC 2018 - Tomáš Chvátal + +- Fix fdupes call + ------------------------------------------------------------------- Wed Dec 5 01:57:33 UTC 2018 - Jan Engelhardt diff --git a/python-blinker.spec b/python-blinker.spec index 0e57a8d..623714e 100644 --- a/python-blinker.spec +++ b/python-blinker.spec @@ -23,9 +23,10 @@ Release: 0 Summary: Object-to-object and broadcast signaling in Python License: MIT Group: Development/Languages/Python -URL: http://discorporate.us/projects/Blinker/ +URL: https://pythonhosted.org/blinker/ Source: https://files.pythonhosted.org/packages/source/b/blinker/blinker-%{version}.tar.gz BuildRequires: %{python_module nose} +BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch @@ -62,10 +63,10 @@ rm docs/html/objects.inv %install %python_install -%fdupes %{buildroot}%{_prefix} +%python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_exec %{_bindir}/nosetests +%python_exec %{_bindir}/nosetests-%{$python_bin_suffix} %files %{python_files} %license LICENSE