diff --git a/python-datanommer-models.spec b/python-datanommer-models.spec index aed21ffdc4..18a0aa3696 100644 --- a/python-datanommer-models.spec +++ b/python-datanommer-models.spec @@ -2,7 +2,7 @@ Name: python-datanommer-models Version: 0.9.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: SQLAlchemy models for datanommer Group: Development/Libraries @@ -20,22 +20,33 @@ BuildRequires: python-nose BuildRequires: python-fedmsg-meta-fedora-infrastructure BuildRequires: fedmsg -Requires: fedmsg BuildRequires: python-alembic -Requires: python-alembic %if 0%{?rhel} && 0%{?rhel} <= 6 BuildRequires: python-sqlalchemy0.7 -Requires: python-sqlalchemy0.7 %else BuildRequires: python-sqlalchemy >= 0.7 -Requires: python-sqlalchemy >= 0.7 %endif -%description +%global _description\ SQLAlchemy models for datanommer. +%description %_description + +%package -n python2-datanommer-models +Summary: %summary +Requires: fedmsg +Requires: python-alembic +%if 0%{?rhel} && 0%{?rhel} <= 6 +Requires: python-sqlalchemy0.7 +%else +Requires: python-sqlalchemy >= 0.7 +%endif +%{?python_provide:%python_provide python2-datanommer-models} + +%description -n python2-datanommer-models %_description + %prep %setup -q -n %{modname}-%{version} @@ -72,7 +83,7 @@ rm -rf *.egg-info %check %{__python} setup.py test -%files +%files -n python2-datanommer-models %doc README.rst LICENSE %{python_sitelib}/datanommer/ %{python_sitelib}/%{modname}-%{version}* @@ -81,6 +92,10 @@ rm -rf *.egg-info %config(noreplace) %{_sysconfdir}/fedmsg.d/datanommer.py* %changelog +* Sun Dec 17 2017 Zbigniew Jędrzejewski-Szmek - 0.9.0-2 +- Python 2 binary package renamed to python2-datanommer-models + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Tue Dec 12 2017 Ralph Bean - 0.9.0-1 - new version