diff --git python-carrot/python-carrot.spec python-carrot/python-carrot.spec.tmp index 04f2b64109..d32896d695 100644 --- python-carrot/python-carrot.spec +++ python-carrot/python-carrot.spec.tmp @@ -3,7 +3,7 @@ Name: python-%{srcname} Version: 0.10.7 -Release: 13%{?dist} +Release: 14%{?dist} Summary: AMQP Messaging Framework for Python Group: Development/Languages @@ -17,21 +17,28 @@ BuildArch: noarch BuildRequires: python-devel BuildRequires: python-setuptools -Requires: python-amqplib -Requires: python-anyjson -Requires: PyYAML + +%global _description\ +python-carrot is an AMQP messaging queue framework. AMQP is the Advanced\ +Message Queuing Protocol, an open standard protocol for message\ +orientation, queuing, routing, reliability and security.\ +\ +The aim of python-carrot is to make messaging in Python as easy as possible\ +by providing a high-level interface for producing and consuming\ +messages. At the same time it is a goal to re-use what is already\ +available as much as possible.\ -%description -python-carrot is an AMQP messaging queue framework. AMQP is the Advanced -Message Queuing Protocol, an open standard protocol for message -orientation, queuing, routing, reliability and security. +%description %_description -The aim of python-carrot is to make messaging in Python as easy as possible -by providing a high-level interface for producing and consuming -messages. At the same time it is a goal to re-use what is already -available as much as possible. +%package -n python2-%{srcname} +Summary: %summary +Requires: python-amqplib +Requires: python-anyjson +Requires: PyYAML +%{?python_provide:%python_provide python2-%{srcname}} +%description -n python2-%{srcname} %_description %prep %setup -q -n %{srcname}-%{version} @@ -50,7 +57,7 @@ rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT -%files +%files -n python2-%{srcname} %defattr(-,root,root,-) %doc AUTHORS Changelog LICENSE %{python_sitelib}/%{srcname}/ @@ -58,6 +65,10 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.10.7-14 +- Python 2 binary package renamed to python2-carrot + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.10.7-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild