forked from pool/python-kombu
- Update to version 2.1.1:
* Connection URLs now supports encoded characters.
* Fixed a case where connection pool could not recover from connection loss.
* We now patch amqplib's ``__del__`` method to skip trying to close the socket
if it is not connected, as this resulted in an annoying warning.
* Compression can now be used with binary message payloads.
- Don't install INSTALL
- Run testsuite
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=28
This commit is contained in:
committed by
Git OBS Bridge
parent
83882cee05
commit
8700ecce4a
@@ -15,28 +15,29 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
||||
|
||||
Name: python-kombu
|
||||
Version: 2.1.0
|
||||
Version: 2.1.1
|
||||
Release: 0
|
||||
License: BSD-2-Clause
|
||||
Summary: AMQP Messaging Framework for Python
|
||||
Url: http://github.com/ask/kombu/
|
||||
Group: Development/Languages/Python
|
||||
Source: kombu-%{version}.tar.bz2
|
||||
Source: kombu-%{version}.tar.gz
|
||||
BuildRequires: python-amqplib
|
||||
BuildRequires: python-anyjson
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-distribute
|
||||
BuildRequires: python-mock
|
||||
BuildRequires: python-nose-cover3
|
||||
Requires: python-amqplib
|
||||
Requires: python-anyjson
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%if 0%{?suse_version}
|
||||
%py_requires
|
||||
%if %{?suse_version: %{suse_version} > 1110}
|
||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
||||
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
%else
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%description
|
||||
An AMQP messaging framework for Python.
|
||||
@@ -59,9 +60,12 @@ python setup.py build
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
|
||||
%check
|
||||
python setup.py test
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS Changelog FAQ INSTALL README THANKS TODO
|
||||
%doc AUTHORS Changelog FAQ README THANKS TODO
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user