diff --git python-txamqp/python-txamqp.spec python-txamqp/python-txamqp.spec.tmp index 1536835402..09b390dedb 100644 --- python-txamqp/python-txamqp.spec +++ python-txamqp/python-txamqp.spec.tmp @@ -2,7 +2,7 @@ Name: python-%{upstream_name} Version: 0.7.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: A Python library for communicating with AMQP peers and brokers using Twisted License: ASL 2.0 @@ -12,16 +12,24 @@ Source0: https://files.pythonhosted.org/packages/source/t/txAMQP/txAMQP-% BuildArch: noarch BuildRequires: python2-devel BuildRequires: python2-setuptools + +%global _description\ +txAMQP is a Python library for communicating with AMQP peers and brokers using\ +Twisted.\ +\ +This project contains all the necessary code to connect, send and receive\ +messages to/from an AMQP-compliant peer or broker (Qpid, OpenAMQ, RabbitMQ)\ +using Twisted. + +%description %_description + +%package -n python2-%{upstream_name} +Summary: %summary Requires: python2-twisted Requires: amqp +%{?python_provide:%python_provide python2-%{upstream_name}} -%description -txAMQP is a Python library for communicating with AMQP peers and brokers using -Twisted. - -This project contains all the necessary code to connect, send and receive -messages to/from an AMQP-compliant peer or broker (Qpid, OpenAMQ, RabbitMQ) -using Twisted. +%description -n python2-%{upstream_name} %_description %package thrift Summary: Contributed Thrift libraries for Twisted @@ -43,7 +51,7 @@ sed -i '/^#!\/usr\/bin\/env python/,+1 d' src/txamqp/codec.py %install %{py2_install} -%files +%files -n python2-%{upstream_name} %doc LICENSE %{python2_sitelib}/%{upstream_name} %exclude %{python2_sitelib}/%{upstream_name}/contrib/thrift @@ -53,6 +61,10 @@ sed -i '/^#!\/usr\/bin\/env python/,+1 d' src/txamqp/codec.py %{python2_sitelib}/%{upstream_name}/contrib/thrift %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.7.0-4 +- Python 2 binary package renamed to python2-txamqp + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.7.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild