diff --git python-fmn-consumer/python-fmn-consumer.spec python-fmn-consumer/python-fmn-consumer.spec.tmp index 545a9e136d..7e3c15f28e 100644 --- python-fmn-consumer/python-fmn-consumer.spec +++ python-fmn-consumer/python-fmn-consumer.spec.tmp @@ -8,7 +8,7 @@ Name: python-fmn-consumer Version: 1.0.3 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Backend worker daemon for Fedora Notifications Group: Development/Libraries @@ -31,6 +31,20 @@ BuildRequires: python-requests BuildRequires: python-arrow BuildRequires: python-bleach +Requires(post): systemd +Requires(preun): systemd +Requires(postun): systemd + +%global _description\ +fmn is a family of systems to manage end-user notifications triggered by\ +fedmsg, the Fedora FEDerated MESsage bus.\ +\ +This module contains the backend worker daemon for Fedora Notifications. + +%description %_description + +%package -n python2-fmn-consumer +Summary: %summary Requires: fedmsg Requires: python-twisted-words Requires: python-fmn-lib @@ -39,16 +53,9 @@ Requires: python-arrow Requires: python-bleach Requires: python-pika Requires: python-redis +%{?python_provide:%python_provide python2-fmn-consumer} -Requires(post): systemd -Requires(preun): systemd -Requires(postun): systemd - -%description -fmn is a family of systems to manage end-user notifications triggered by -fedmsg, the Fedora FEDerated MESsage bus. - -This module contains the backend worker daemon for Fedora Notifications. +%description -n python2-fmn-consumer %_description %prep %setup -q -n %{modname}-%{version} @@ -73,7 +80,7 @@ install -m 644 systemd/fmn-worker@.service \ #%check #%{__python2} setup.py test -%files +%files -n python2-fmn-consumer %doc README.rst COPYING COPYING.LESSER CHANGELOG.rst %{python2_sitelib}/fmn/consumer/ %{python2_sitelib}/%{modname}-%{version}* @@ -81,6 +88,10 @@ install -m 644 systemd/fmn-worker@.service \ %{_unitdir}/fmn-backend@.service %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 1.0.3-4 +- Python 2 binary package renamed to python2-fmn-consumer + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 1.0.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild