Accepting request 655588 from devel:languages:python

- Fix fdupes call

- Trim bias from description.

- Remove superfluous devel dependency for noarch package

OBS-URL: https://build.opensuse.org/request/show/655588
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-blinker?expand=0&rev=14
This commit is contained in:
Dominique Leuenberger 2018-12-13 18:47:36 +00:00 committed by Git OBS Bridge
commit c4dd128e49
2 changed files with 29 additions and 17 deletions

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Thu Dec 6 11:24:47 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com>
- Fix fdupes call
-------------------------------------------------------------------
Wed Dec 5 01:57:33 UTC 2018 - Jan Engelhardt <jengelh@inai.de>
- Trim bias from description.
-------------------------------------------------------------------
Tue Dec 4 12:46:13 UTC 2018 - Matej Cepl <mcepl@suse.com>
- Remove superfluous devel dependency for noarch package
-------------------------------------------------------------------
Sun May 7 17:47:40 UTC 2017 - benoit.monin@gmx.fr

View File

@ -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/
#
@ -20,22 +20,20 @@
Name: python-blinker
Version: 1.4
Release: 0
Url: http://discorporate.us/projects/Blinker/
Summary: Fast, simple object-to-object and broadcast signaling
Summary: Object-to-object and broadcast signaling in Python
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}
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
%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
@ -43,17 +41,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}
@ -65,19 +63,18 @@ 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}
%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