diff --git python-zope-sqlalchemy/python-zope-sqlalchemy.spec python-zope-sqlalchemy/python-zope-sqlalchemy.spec.tmp index 1b9f71f62a..df7959ce38 100644 --- python-zope-sqlalchemy/python-zope-sqlalchemy.spec +++ python-zope-sqlalchemy/python-zope-sqlalchemy.spec.tmp @@ -4,7 +4,7 @@ Name: python-zope-sqlalchemy Version: 0.7.7 -Release: 4%{?dist} +Release: 5%{?dist} BuildArch: noarch License: ZPLv2.1 @@ -17,10 +17,6 @@ BuildRequires: python2-devel BuildRequires: python-setuptools BuildRequires: python-zope-testing -Requires: python-transaction -Requires: python-sqlalchemy >= 0.5.1 -Requires: python-zope-interface >= 3.6.0 - %if 0%{?with_python3} BuildRequires: python3-devel BuildRequires: python3-setuptools @@ -28,12 +24,23 @@ BuildRequires: python3-zope-testing %endif -%description -The aim of this package is to unify the plethora of existing packages -integrating SQLAlchemy with Zope's transaction management. As such it seeks -only to provide a data manager and makes no attempt to define a zopeish way to +%global _description\ +The aim of this package is to unify the plethora of existing packages\ +integrating SQLAlchemy with Zope's transaction management. As such it seeks\ +only to provide a data manager and makes no attempt to define a zopeish way to\ configure engines. +%description %_description + +%package -n python2-zope-sqlalchemy +Summary: %summary +Requires: python-transaction +Requires: python-sqlalchemy >= 0.5.1 +Requires: python-zope-interface >= 3.6.0 +%{?python_provide:%python_provide python2-zope-sqlalchemy} + +%description -n python2-zope-sqlalchemy %_description + %if 0%{?with_python3} %package -n python3-zope-sqlalchemy Summary: Minimal Zope/SQLAlchemy transaction integration with Python 3 support @@ -79,7 +86,7 @@ popd %endif -%files +%files -n python2-zope-sqlalchemy %doc src/zope/sqlalchemy/README.txt %doc CHANGES.txt COPYRIGHT.txt CREDITS.txt LICENSE.txt # Co-own %%{python_sitelib}/zope/ @@ -97,6 +104,10 @@ popd %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.7.7-5 +- Python 2 binary package renamed to python2-zope-sqlalchemy + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.7.7-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild