diff --git a/python-tw2-sqla.spec b/python-tw2-sqla.spec index 3efcd2da73..0d838534d7 100644 --- a/python-tw2-sqla.spec +++ b/python-tw2-sqla.spec @@ -4,7 +4,7 @@ Name: python-tw2-sqla Version: 2.0.6 -Release: 11%{?dist} +Release: 12%{?dist} Summary: SQLAlchemy database layer for ToscaWidgets2 Group: Development/Languages @@ -49,6 +49,15 @@ BuildRequires: python-turbocheetah # Runtime requirements + +%global _description\ +tw2.sqla is a database layer for ToscaWidgets 2 and SQLAlchemy. It allows common\ +database tasks to be achieved with minimal code. + +%description %_description + +%package -n python2-tw2-sqla +Summary: %summary Requires: python-tw2-forms >= 2.1.4.1 Requires: python-tw2-dynforms %if 0%{?rhel} && 0%{?rhel} <= 6 @@ -57,10 +66,9 @@ Requires: python-sqlalchemy0.7 >= 0.7 Requires: python-sqlalchemy >= 0.7 %endif Requires: python-zope-sqlalchemy +%{?python_provide:%python_provide python2-tw2-sqla} -%description -tw2.sqla is a database layer for ToscaWidgets 2 and SQLAlchemy. It allows common -database tasks to be achieved with minimal code. +%description -n python2-tw2-sqla %_description %prep %setup -q -n %{modname}-%{version} @@ -92,13 +100,17 @@ rm setup.cfg #PYTHONPATH=$(pwd) python setup.py test #%endif -%files +%files -n python2-tw2-sqla %doc README.rst LICENSE %{python_sitelib}/tw2/sqla %{python_sitelib}/%{modname}-%{version}-*-nspkg.pth %{python_sitelib}/%{modname}-%{version}-*.egg-info %changelog +* Sun Dec 17 2017 Zbigniew Jędrzejewski-Szmek - 2.0.6-12 +- Python 2 binary package renamed to python2-tw2-sqla + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 2.0.6-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild