Accepting request 611735 from home:mcepl:work

Clean up SPEC and obsolete python-carrot

OBS-URL: https://build.opensuse.org/request/show/611735
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=123
This commit is contained in:
Matej Cepl 2018-05-23 17:47:50 +00:00 committed by Git OBS Bridge
parent 0428800602
commit c698d08c63
2 changed files with 16 additions and 12 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed May 23 17:16:28 UTC 2018 - mcepl@suse.com
- Clean up SPEC and obsolete python-carrot
- Remove superfluous python-devel
-------------------------------------------------------------------
Tue Jan 30 13:33:59 UTC 2018 - dmueller@suse.com

View File

@ -23,12 +23,8 @@ Release: 0
Summary: AMQP Messaging Framework for Python
License: BSD-3-Clause
Group: Development/Languages/Python
Url: https://github.com/celery/kombu
Source: https://pypi.io/packages/source/k/kombu/kombu-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
URL: https://github.com/celery/kombu
Source: https://files.pythonhosted.org/packages/source/k/kombu/kombu-%{version}.tar.gz
# Test requirements:
BuildRequires: %{python_module PyYAML}
BuildRequires: %{python_module amqp >= 2.1.4}
@ -38,15 +34,17 @@ BuildRequires: %{python_module msgpack-python}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module pytz}
BuildRequires: %{python_module redis}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-amqp
BuildArch: noarch
%if 0%{?suse_version}
Suggests: couchdb
Suggests: mongodb
Suggests: rabbitmq-server
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
Obsoletes: python-carrot
%python_subpackages
%description
@ -76,9 +74,9 @@ provide proven and tested solutions to common messaging problems.
%check
python2 setup.py -q test
%files %python_files
%defattr(-,root,root,-)
%doc AUTHORS Changelog FAQ README.rst THANKS TODO LICENSE
%files %{python_files}
%license LICENSE
%doc AUTHORS Changelog FAQ README.rst THANKS TODO
%{python_sitelib}/kombu
%{python_sitelib}/kombu-%{version}-py%{py_ver}.egg-info