diff --git a/.python-kombu.metadata b/.python-kombu.metadata index 6509496..7147221 100644 --- a/.python-kombu.metadata +++ b/.python-kombu.metadata @@ -1 +1 @@ -b54ece3c290a1d46857a3c69054c51f5613942a9 SOURCES/kombu-5.0.2.tar.gz +5a4dbddd5789d645bf5c06e92193759c30aae847 SOURCES/kombu-5.1.0.tar.gz diff --git a/SPECS/python-kombu.spec b/SPECS/python-kombu.spec index fa1e2b5..8c36b93 100644 --- a/SPECS/python-kombu.spec +++ b/SPECS/python-kombu.spec @@ -1,20 +1,9 @@ -%if 0%{?rhel} && 0%{?rhel} < 8 -%bcond_with python3 -%bcond_with tests -%else -%bcond_without python3 %bcond_without tests -%endif - -%if %{defined el6} || %{defined el7} -%bcond_without python2 -%endif - %global srcname kombu Name: python-%{srcname} -Version: 5.0.2 -Release: 2%{?dist} +Version: 5.1.0 +Release: 3%{?dist} Epoch: 1 Summary: An AMQP Messaging Framework for Python @@ -35,57 +24,9 @@ The aim of Kombu is to make messaging in Python as easy as possible by providing an idiomatic high-level interface for the AMQP protocol, and also provide proven and tested solutions to common messaging problems. -%if %{with python2} -%package -n python2-%{srcname} -Summary: %{summary} -Requires: python2-amqp >= 2.5.2 -Requires: python2-vine - -BuildRequires: python2-devel -BuildRequires: python2-setuptools - -%if %{with tests} -# test requirements -BuildRequires: python2-pytest -BuildRequires: python2-pytest-cov -BuildRequires: python2-vine -BuildRequires: python2-case -BuildRequires: python2-pytz - -BuildRequires: python2-nose - -BuildRequires: python2-nose-cover3 -BuildRequires: python2-coverage -BuildRequires: python2-mock -BuildRequires: python2-simplejson -BuildRequires: python2-pyyaml -BuildRequires: python2-msgpack -BuildRequires: python2-amqp -# No longer packaged -#BuildRequires: python2-pymongo -%endif - -# For documentation -#BuildRequires: python2-pymongo python2-sphinx -#This causes tests error, needs fixing upstream. Incompatible with python > 2.7 -#BuildRequires: python2-couchdb -%{?python_provide:%python_provide python2-%{srcname}} - -%description -n python2-%{srcname} -AMQP is the Advanced Message Queuing Protocol, an open standard protocol -for message orientation, queuing, routing, reliability and security. - -One of the most popular implementations of AMQP is RabbitMQ. - -The aim of Kombu is to make messaging in Python as easy as possible by -providing an idiomatic high-level interface for the AMQP protocol, and -also provide proven and tested solutions to common messaging problems. -%endif - -%if %{with python3} %package -n python3-%{srcname} Summary: %{summary} -Requires: python3-amqp >= 5.0.1 +Requires: python3-amqp Requires: python3-vine BuildRequires: python3-devel @@ -94,7 +35,7 @@ BuildRequires: python3-setuptools BuildRequires: python3-mock BuildRequires: python3-nose-cover3 BuildRequires: python3-coverage -BuildRequires: python3-amqp >= 5.0.1 +BuildRequires: python3-amqp # pymonngo not needed in RDO #BuildRequires: python3-pymongo BuildRequires: python3-nose @@ -105,7 +46,6 @@ BuildRequires: python3-sqlalchemy BuildRequires: python3-boto3 BuildRequires: python3-pytest %endif -%{?python_provide:%python_provide python3-%{srcname}} %description -n python3-%{srcname} AMQP is the Advanced Message Queuing Protocol, an open standard protocol @@ -116,42 +56,39 @@ One of the most popular implementations of AMQP is RabbitMQ. The aim of Kombu is to make messaging in Python as easy as possible by providing an idiomatic high-level interface for the AMQP protocol, and also provide proven and tested solutions to common messaging problems. -%endif %prep %autosetup -n %{srcname}-%{version} %build -%{?with_python2:%py2_build} -%{?with_python3:%py3_build} +%py3_build %install -%{?with_python3:%py3_install} -%{?with_python2:%py2_install} +%py3_install %check %if %{with tests} -# python3-pyro is outdated and FTI in Fedora, ignore pyro tests -py.test-3 --ignore=t/unit/transport/test_pyro.py +# python3-azure-sdk package in Fedora is incomplete for this testsuite +%pytest --ignore=t/unit/transport/test_azureservicebus.py --ignore=t/unit/transport/test_pyro.py %endif -%if %{with python2} -%files -n python2-%{srcname} -%doc AUTHORS FAQ READ* THANKS TODO examples/ -%license LICENSE -%{python2_sitelib}/%{srcname} -%{python2_sitelib}/%{srcname}*.egg-info -%endif - -%if %{with python3} %files -n python3-%{srcname} %doc AUTHORS FAQ READ* THANKS TODO examples/ %license LICENSE %{python3_sitelib}/%{srcname} %{python3_sitelib}/%{srcname}*.egg-info -%endif %changelog +* Fri Jul 23 2021 Fedora Release Engineering - 1:5.1.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Fri Jun 04 2021 Python Maint - 1:5.1.0-2 +- Rebuilt for Python 3.10 + +* Tue May 25 2021 Frantisek Zatloukal - 1:5.1.0-1 +- kombu 5.1.0 +- specfile cleanup + * Wed Jan 27 2021 Fedora Release Engineering - 1:5.0.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild