|
 |
a4a74c7 |
%if 0%{?fedora} > 12
|
|
Matthias Runge |
7e82271 |
%global with_python3 1
|
|
Matthias Runge |
f6dce75 |
%else
|
|
Matthias Runge |
f6dce75 |
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print (get_python_lib())")}
|
|
Matthias Runge |
f6dce75 |
%endif
|
|
Matthias Runge |
f6dce75 |
|
|
 |
94493d5 |
%global srcname kombu
|
|
 |
94493d5 |
|
|
 |
94493d5 |
Name: python-%{srcname}
|
|
 |
f144c0a |
Version: 3.0.12
|
|
 |
f144c0a |
Release: 1%{?dist}
|
|
 |
ceb4975 |
Epoch: 1
|
|
 |
94493d5 |
Summary: AMQP Messaging Framework for Python
|
|
 |
94493d5 |
|
|
 |
94493d5 |
Group: Development/Languages
|
|
 |
94493d5 |
# utils/functional.py contains a header that says Python
|
|
 |
94493d5 |
License: BSD and Python
|
|
 |
94493d5 |
URL: http://pypi.python.org/pypi/%{srcname}
|
|
 |
94493d5 |
Source0: http://pypi.python.org/packages/source/k/%{srcname}/%{srcname}-%{version}.tar.gz
|
|
 |
94493d5 |
BuildArch: noarch
|
|
 |
94493d5 |
|
|
 |
94493d5 |
BuildRequires: python2-devel
|
|
 |
a4a74c7 |
|
|
Matthias Runge |
f6dce75 |
%if 0%{?with_python3}
|
|
Matthias Runge |
f6dce75 |
BuildRequires: python3-devel
|
|
Matthias Runge |
f6dce75 |
BuildRequires: python3-nose
|
|
Matthias Runge |
f6dce75 |
BuildRequires: python3-setuptools
|
|
Matthias Runge |
f6dce75 |
BuildRequires: python3-anyjson
|
|
Matthias Runge |
7e82271 |
# for python3 tests
|
|
Matthias Runge |
7e82271 |
BuildRequires: python3-mock
|
|
Matthias Runge |
7e82271 |
BuildRequires: python3-nose-cover3
|
|
Matthias Runge |
7e82271 |
BuildRequires: python3-coverage
|
|
Matthias Runge |
f6dce75 |
%endif # if with_python3
|
|
Matthias Runge |
f6dce75 |
|
|
 |
94493d5 |
BuildRequires: python-setuptools
|
|
 |
94493d5 |
BuildRequires: python-nose
|
|
 |
94493d5 |
BuildRequires: python-anyjson
|
|
Matthias Runge |
f6dce75 |
|
|
Matthias Runge |
f6dce75 |
# required for tests:
|
|
Matthias Runge |
f6dce75 |
BuildRequires: python-nose-cover3
|
|
Matthias Runge |
f6dce75 |
BuildRequires: python-unittest2
|
|
Matthias Runge |
f6dce75 |
BuildRequires: python-coverage
|
|
Matthias Runge |
f6dce75 |
BuildRequires: python-mock
|
|
Matthias Runge |
f6dce75 |
BuildRequires: python-simplejson
|
|
Matthias Runge |
f6dce75 |
BuildRequires: PyYAML
|
|
Matthias Runge |
f6dce75 |
BuildRequires: python-msgpack
|
|
 |
77753d9 |
BuildRequires: python-amqp
|
|
 |
77753d9 |
|
|
 |
77753d9 |
#%if 0%{?with_python3}
|
|
 |
5b8fd90 |
BuildRequires: python3-amqp
|
|
 |
5b8fd90 |
|
|
 |
5b8fd90 |
# tests:
|
|
 |
5b8fd90 |
BuildRequires: python3-nose
|
|
 |
5b8fd90 |
BuildRequires: python3-nose-cover3
|
|
 |
5b8fd90 |
BuildRequires: python3-mock
|
|
 |
77753d9 |
#%endif
|
|
 |
77753d9 |
|
|
 |
94493d5 |
# For documentation
|
|
 |
94493d5 |
#BuildRequires: pymongo python-sphinx
|
|
 |
94493d5 |
#This causes tests error, needs fixing upstream. Incompatible with python > 2.7
|
|
 |
94493d5 |
#BuildRequires: python-couchdb
|
|
 |
5b8fd90 |
Requires: python-amqp >= 1.3.3
|
|
 |
5b8fd90 |
Requires: python-anyjson >= 0.3.3
|
|
 |
94493d5 |
|
|
 |
94493d5 |
%description
|
|
 |
94493d5 |
AMQP is the Advanced Message Queuing Protocol, an open standard protocol
|
|
 |
94493d5 |
for message orientation, queuing, routing, reliability and security.
|
|
 |
94493d5 |
|
|
 |
94493d5 |
One of the most popular implementations of AMQP is RabbitMQ.
|
|
 |
94493d5 |
|
|
 |
94493d5 |
The aim of Kombu is to make messaging in Python as easy as possible by
|
|
 |
94493d5 |
providing an idiomatic high-level interface for the AMQP protocol, and
|
|
 |
94493d5 |
also provide proven and tested solutions to common messaging problems.
|
|
 |
94493d5 |
|
|
Matthias Runge |
f6dce75 |
%if 0%{?with_python3}
|
|
Matthias Runge |
f6dce75 |
%package -n python3-kombu
|
|
Matthias Runge |
f6dce75 |
Summary: AMQP Messaging Framework for Python3
|
|
Matthias Runge |
f6dce75 |
Group: Development/Languages
|
|
Matthias Runge |
f6dce75 |
|
|
Matthias Runge |
f6dce75 |
Requires: python3
|
|
 |
33c8b21 |
Requires: python3-amqp
|
|
Matthias Runge |
f6dce75 |
|
|
Matthias Runge |
f6dce75 |
%description -n python3-kombu
|
|
Matthias Runge |
f6dce75 |
AMQP is the Advanced Message Queuing Protocol, an open standard protocol
|
|
Matthias Runge |
f6dce75 |
for message orientation, queuing, routing, reliability and security.
|
|
Matthias Runge |
f6dce75 |
|
|
Matthias Runge |
f6dce75 |
One of the most popular implementations of AMQP is RabbitMQ.
|
|
Matthias Runge |
f6dce75 |
|
|
Matthias Runge |
f6dce75 |
The aim of Kombu is to make messaging in Python as easy as possible by
|
|
Matthias Runge |
f6dce75 |
providing an idiomatic high-level interface for the AMQP protocol, and
|
|
Matthias Runge |
f6dce75 |
also provide proven and tested solutions to common messaging problems.
|
|
Matthias Runge |
f6dce75 |
|
|
Matthias Runge |
f6dce75 |
This subpackage is for python3
|
|
Matthias Runge |
f6dce75 |
%endif # with_python3
|
|
Matthias Runge |
f6dce75 |
|
|
 |
94493d5 |
%prep
|
|
 |
94493d5 |
%setup -q -n %{srcname}-%{version}
|
|
 |
77753d9 |
|
|
Matthias Runge |
f6dce75 |
%if 0%{?with_python3}
|
|
Matthias Runge |
f6dce75 |
cp -a . %{py3dir}
|
|
Matthias Runge |
f6dce75 |
%endif
|
|
Matthias Runge |
f6dce75 |
|
|
 |
94493d5 |
%build
|
|
 |
94493d5 |
%{__python} setup.py build
|
|
 |
94493d5 |
|
|
Matthias Runge |
f6dce75 |
# build python3-kombu
|
|
Matthias Runge |
f6dce75 |
%if 0%{?with_python3}
|
|
Matthias Runge |
f6dce75 |
pushd %{py3dir}
|
|
Matthias Runge |
f6dce75 |
%{__python3} setup.py build
|
|
Matthias Runge |
f6dce75 |
popd
|
|
Matthias Runge |
f6dce75 |
%endif # with_python3
|
|
Matthias Runge |
f6dce75 |
|
|
 |
94493d5 |
%install
|
|
 |
94493d5 |
%{__python} setup.py install --skip-build --root %{buildroot}
|
|
 |
94493d5 |
|
|
Matthias Runge |
f6dce75 |
%if 0%{?with_python3}
|
|
Matthias Runge |
f6dce75 |
pushd %{py3dir}
|
|
Matthias Runge |
f6dce75 |
%{__python3} setup.py install --skip-build --root %{buildroot}
|
|
Matthias Runge |
f6dce75 |
popd
|
|
Matthias Runge |
f6dce75 |
%endif # with_python3
|
|
Matthias Runge |
f6dce75 |
|
|
 |
94493d5 |
# Documentation in docs folder is not useful without doing a make
|
|
 |
94493d5 |
# Seems to have a circular dependency. Not building for now
|
|
 |
94493d5 |
#cd docs && make html
|
|
 |
94493d5 |
#cd - && mv docs/.build/html htmldocs
|
|
 |
94493d5 |
#rm -rf docs
|
|
 |
94493d5 |
#rm -f htmldocs/.buildinfo
|
|
 |
94493d5 |
|
|
 |
5443416 |
# sadly, tests don't succeed, yet
|
|
 |
77753d9 |
%check
|
|
 |
77753d9 |
%{__python} setup.py test
|
|
 |
b3d2736 |
# tests with py3 are failing currently
|
|
 |
5b8fd90 |
%if 0%{?with_python3}
|
|
 |
5b8fd90 |
pushd %{py3dir}
|
|
 |
5b8fd90 |
%{__python3} setup.py test
|
|
 |
5b8fd90 |
popd
|
|
 |
5b8fd90 |
%endif # with_python3
|
|
 |
94493d5 |
|
|
 |
94493d5 |
%files
|
|
 |
94493d5 |
%doc AUTHORS Changelog FAQ LICENSE READ* THANKS TODO examples/
|
|
 |
94493d5 |
%{python_sitelib}/%{srcname}/
|
|
 |
94493d5 |
%{python_sitelib}/%{srcname}*.egg-info
|
|
 |
94493d5 |
|
|
Matthias Runge |
f6dce75 |
%if 0%{?with_python3}
|
|
Matthias Runge |
f6dce75 |
%files -n python3-kombu
|
|
Matthias Runge |
f6dce75 |
%doc AUTHORS Changelog FAQ LICENSE READ* THANKS TODO examples/
|
|
Matthias Runge |
f6dce75 |
%{python3_sitelib}/*
|
|
Matthias Runge |
f6dce75 |
%endif # with_python3
|
|
Matthias Runge |
f6dce75 |
|
|
 |
94493d5 |
%changelog
|
|
 |
f144c0a |
* Wed Feb 26 2014 Matthias Runge <mrunge@redhat.com> - 3.0.12-1
|
|
 |
f144c0a |
- update to 3.0.12 (rhbz#1052424)
|
|
 |
f144c0a |
|
|
 |
ceb4975 |
* Wed Jan 08 2014 Matthias Runge <mrunge@redhat.com> - 3.0.8-2
|
|
 |
ceb4975 |
- remove requirements patch, bump epoch to be upgradeable
|
|
 |
ceb4975 |
|
|
 |
a4a74c7 |
* Wed Jan 08 2014 Matthias Runge <mrunge@redhat.com> - 3.0.8-1
|
|
 |
a4a74c7 |
- update to 3.0.8 (rhbz#1037549)
|
|
 |
a4a74c7 |
|
|
 |
5b8fd90 |
* Fri Nov 22 2013 Matthias Runge <mrunge@redhat.com> - 3.0.6-1
|
|
 |
5b8fd90 |
- update to 3.0.6 and enable tests for py3 as well
|
|
 |
5b8fd90 |
|
|
 |
29bcc62 |
* Sun Nov 17 2013 Fabian Affolter <mail@fabian-affolter.ch> - 3.0.5-1
|
|
 |
29bcc62 |
- Updated to latest upstream version 3.0.5 (rhbz#1024916)
|
|
 |
29bcc62 |
|
|
 |
94f6006 |
* Sat Nov 16 2013 Fabian Affolter <mail@fabian-affolter.ch> - 3.0.4-1
|
|
 |
94f6006 |
- Updated to latest upstream version 3.0.4 (rhbz#1024916)
|
|
 |
94f6006 |
|
|
 |
8839db1 |
* Fri Nov 15 2013 Fabian Affolter <mail@fabian-affolter.ch> - 3.0.3-1
|
|
 |
8839db1 |
- Updated to latest upstream version 3.0.3 (rhbz#1024916)
|
|
 |
8839db1 |
|
|
 |
281b2cc |
* Sun Nov 03 2013 Fabian Affolter <mail@fabian-affolter.ch> - 3.0.2-1
|
|
 |
281b2cc |
- Updated to latest upstream version 3.0.2 (rhbz#1024916)
|
|
 |
3b7ad41 |
|
|
 |
29a2286 |
* Mon Oct 28 2013 Fabian Affolter <mail@fabian-affolter.ch> - 3.0.1-1
|
|
 |
29a2286 |
- Updated to latest upstream version 3.0.1 (rhbz#1019148)
|
|
 |
29a2286 |
|
|
 |
77753d9 |
* Mon Oct 14 2013 Matthias Runge <mrunge@redhat.com> - 2.5.15-2
|
|
 |
77753d9 |
- enable tests for python2
|
|
 |
77753d9 |
|
|
 |
b3d2736 |
* Mon Oct 14 2013 Matthias Runge <mrunge@redhat.com> - 2.5.15-1
|
|
 |
b3d2736 |
- updated to 2.5.15 (rhbz#1016271)
|
|
 |
b3d2736 |
|
|
 |
ed56d8e |
* Sun Aug 25 2013 Fabian Affolter <mail@fabian-affolter.ch> - 2.5.14-1
|
|
 |
ed56d8e |
- Updated to latest upstream version 2.5.14 (rhbz#1000696)
|
|
 |
ed56d8e |
|
|
 |
ed56d8e |
* Wed Aug 21 2013 Matthias Runge <mrunge@redhat.com> - 2.5.13-1
|
|
 |
0d669e0 |
- updated to latest upstream version 2.5.13 (rhbz#998104)
|
|
 |
0d669e0 |
|
|
 |
46afeb0 |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.12-2
|
|
 |
46afeb0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
 |
46afeb0 |
|
|
 |
4520b57 |
* Sat Jun 29 2013 Fabian Affolter <mail@fabian-affolter.ch> - 2.5.12-1
|
|
 |
4520b57 |
- Updated to latest upstream version 2.5.12
|
|
 |
4520b57 |
|
|
 |
33c8b21 |
* Mon Jun 24 2013 Rahul Sundaram <sundaram@fedoraproject.org> - 2.5.10-2
|
|
 |
33c8b21 |
- add requires on python-amqp/python3-amqp. resolves rhbz#974684
|
|
 |
33c8b21 |
- fix rpmlint warnings about macro in comments
|
|
 |
33c8b21 |
|
|
 |
6a7fb18 |
* Sun Apr 21 2013 Fabian Affolter <mail@fabian-affolter.ch> - 2.5.10-1
|
|
 |
6a7fb18 |
- Updated to latest upstream version 2.5.10
|
|
 |
6a7fb18 |
|
|
 |
237006d |
* Sat Mar 23 2013 Fabian Affolter <mail@fabian-affolter.ch> - 2.5.8-1
|
|
 |
237006d |
- Updated to latest upstream version 2.5.8
|
|
 |
237006d |
|
|
 |
4970ef7 |
* Sat Mar 09 2013 Fabian Affolter <mail@fabian-affolter.ch> - 2.5.7-1
|
|
 |
237006d |
- Updated to latest upstream version 2.5.7
|
|
 |
4970ef7 |
|
|
 |
c499b80 |
* Mon Feb 11 2013 Fabian Affolter <mail@fabian-affolter.ch> - 2.5.6-1
|
|
 |
237006d |
- Updated to latest upstream version 2.5.6
|
|
 |
c499b80 |
|
|
 |
ab3b9c5 |
* Sat Feb 09 2013 Fabian Affolter <mail@fabian-affolter.ch> - 2.5.5-1
|
|
 |
237006d |
- Updated to latest upstream version 2.5.5
|
|
 |
ab3b9c5 |
|
|
 |
5443416 |
* Thu Dec 13 2012 Matthias Runge <mrunge@redhat.com> - 2.5.4-1
|
|
 |
237006d |
- Update to upstream version 2.5.4 (rhbz#886001)
|
|
 |
5443416 |
|
|
 |
5f3084f |
* Tue Dec 04 2012 Matthias Runge <mrunge@redhat.com> - 2.5.3-1
|
|
 |
237006d |
- Update to latest upstream version 2.5.3
|
|
 |
5f3084f |
|
|
 |
757abb7 |
* Mon Nov 26 2012 Matthias Runge <mrunge@redhat.com> - 2.4.10-1
|
|
 |
237006d |
- Update to latest upstream version 2.4.10
|
|
 |
757abb7 |
|
|
 |
16cdfab |
* Tue Nov 06 2012 Matthias Runge <mrunge@redhat.com> - 2.4.8-1
|
|
 |
16cdfab |
- update to new upstream version 2.4.8
|
|
 |
16cdfab |
|
|
 |
3633a06 |
* Thu Sep 20 2012 Matthias Runge <mrunge@redhat.com> - 2.4.7-1
|
|
 |
237006d |
- Update to new upstream version 2.4.7
|
|
 |
bc05190 |
|
|
Matthias Runge |
0895191 |
* Sun Aug 26 2012 Matthias Runge <mrunge@matthias-runge.de> - 2.4.3-1
|
|
 |
237006d |
- Update to new upstream version 2.4.3
|
|
Matthias Runge |
0895191 |
|
|
Matthias Runge |
7e82271 |
* Thu Aug 23 2012 Matthias Runge <mrunge@matthias-runge.de> - 2.4.0-1
|
|
Matthias Runge |
7e82271 |
- update to new upstream version 2.4.0
|
|
Matthias Runge |
7e82271 |
|
|
 |
0d669e0 |
* Fri Aug 03 2012 Matthias Runge <mrunge@matthias-runge.de> - 2.3.2-1
|
|
Matthias Runge |
f6dce75 |
- update to version 2.3.2
|
|
Matthias Runge |
f6dce75 |
- enable tests
|
|
Matthias Runge |
f6dce75 |
- require python2 and/or python3
|
|
Matthias Runge |
f6dce75 |
|
|
 |
ae3ef25 |
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.3-3
|
|
 |
ae3ef25 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
 |
ae3ef25 |
|
|
 |
540e0a6 |
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.3-2
|
|
 |
540e0a6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
 |
540e0a6 |
|
|
 |
94493d5 |
* Fri Jul 15 2011 Rahul Sundaram <sundaram@fedoraproject.org> - 1.1.3-1
|
|
 |
94493d5 |
- initial spec.
|
|
 |
94493d5 |
- derived from the one written by Fabian Affolter
|
|
 |
94493d5 |
- spec patch from Lakshmi Narasimhan
|
|
 |
94493d5 |
|