diff --git a/python-fmn-lib.spec b/python-fmn-lib.spec index 8e1a2e1abb..e40c169978 100644 --- a/python-fmn-lib.spec +++ b/python-fmn-lib.spec @@ -8,7 +8,7 @@ Name: python-fmn-lib Version: 0.8.2 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Internal API components and model for Fedora Notifications Group: Development/Libraries @@ -36,27 +36,33 @@ BuildRequires: python-sqlalchemy %endif + + +%global _description\ +fmn is a family of systems to manage end-user notifications triggered by\ +fedmsg, the Fedora FEDerated MESsage bus.\ +\ +This modules contains the internal API for components and data model for Fedora\ +Notifications + +%description %_description + +%package -n python2-fmn-lib +Summary: %summary Requires: python-beautifulsoup4 Requires: python-fmn-rules Requires: python-docutils Requires: python-markupsafe - %if 0%{?rhel} && 0%{?rhel} <= 6 Requires: python-ordereddict Requires: python-sqlalchemy0.8 %else Requires: python-sqlalchemy %endif - Requires: python-alembic +%{?python_provide:%python_provide python2-fmn-lib} - -%description -fmn is a family of systems to manage end-user notifications triggered by -fedmsg, the Fedora FEDerated MESsage bus. - -This modules contains the internal API for components and data model for Fedora -Notifications +%description -n python2-fmn-lib %_description %prep %setup -q -n %{modname}-%{version} @@ -80,7 +86,7 @@ install createdb.py %{buildroot}%{_bindir}/fmn-createdb #%check #%{__python2} setup.py test -%files +%files -n python2-fmn-lib %doc README.rst COPYING COPYING.LESSER CHANGELOG.rst %{python2_sitelib}/fmn/lib/ %{python2_sitelib}/%{modname}-%{version}* @@ -88,6 +94,10 @@ install createdb.py %{buildroot}%{_bindir}/fmn-createdb %{_bindir}/fmn-createdb %changelog +* Sun Dec 17 2017 Zbigniew Jędrzejewski-Szmek - 0.8.2-5 +- Python 2 binary package renamed to python2-fmn-lib + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.8.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild