diff --git a/python-messaging.spec b/python-messaging.spec index 1b0f9781f8..7f98e181bc 100644 --- a/python-messaging.spec +++ b/python-messaging.spec @@ -9,7 +9,7 @@ Name: python-messaging Version: 1.1 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Python abstraction of a "message" Group: Development/Libraries License: ASL 2.0 @@ -21,23 +21,32 @@ BuildRequires: python2-devel %if 0%{?with_python3} BuildRequires: python3-devel %endif # if with_python3 -Provides: python2-messaging # For python < 2.6 python-simplejson is required %if 0%{?fedora} < 11 || 0%{?rhel} <= 6 BuildRequires: python-simplejson -Requires: python-simplejson %endif -%description -This module provides an abstraction of a "message", as used in Enterprise -Messaging Systems. +%global _description\ +This module provides an abstraction of a "message", as used in Enterprise\ +Messaging Systems.\ +\ +The modules include a transport independent message abstraction, a\ +versatile message generator and several message queues/spools to\ +locally store messages.\ +\ +The python module messaging is compatible with the Perl\ +module Messaging::Message. -The modules include a transport independent message abstraction, a -versatile message generator and several message queues/spools to -locally store messages. +%description %_description -The python module messaging is compatible with the Perl -module Messaging::Message. +%package -n python2-messaging +Summary: %summary +%if 0%{?fedora} < 11 || 0%{?rhel} <= 6 +Requires: python-simplejson +%endif +%{?python_provide:%python_provide python2-messaging} + +%description -n python2-messaging %_description %if 0%{?with_python3} %package -n python3-messaging @@ -94,7 +103,7 @@ popd %clean rm -fr $RPM_BUILD_ROOT -%files +%files -n python2-messaging %defattr(-,root,root) %doc LICENSE README.rst CHANGES example test %{python_sitelib}/%{srcname}/ @@ -110,6 +119,10 @@ rm -fr $RPM_BUILD_ROOT %endif # with_python3 %changelog +* Sun Dec 17 2017 Zbigniew Jędrzejewski-Szmek - 1.1-7 +- Python 2 binary package renamed to python2-messaging + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 1.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild