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