diff --git python-transaction/python-transaction.spec python-transaction/python-transaction.spec.tmp index 3bbb9117b7..17f6221265 100644 --- python-transaction/python-transaction.spec +++ python-transaction/python-transaction.spec.tmp @@ -4,7 +4,7 @@ Name: python-transaction Version: 2.1.2 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Transaction management for Python Group: Development/Languages @@ -20,8 +20,6 @@ BuildRequires: python-nose BuildRequires: python-setuptools BuildRequires: python-mock -Requires: python-zope-interface - %if 0%{?with_python3} BuildRequires: python3-devel BuildRequires: python3-setuptools @@ -31,10 +29,19 @@ BuildRequires: python3-mock %endif -%description -This package contains a generic transaction implementation for Python. It is +%global _description\ +This package contains a generic transaction implementation for Python. It is\ mainly used by the ZODB, though. +%description %_description + +%package -n python2-transaction +Summary: %summary +Requires: python-zope-interface +%{?python_provide:%python_provide python2-transaction} + +%description -n python2-transaction %_description + %if 0%{?with_python3} %package -n python3-transaction Summary: Transaction management for Python 3 @@ -86,7 +93,7 @@ popd %endif -%files +%files -n python2-transaction %doc README.rst LICENSE.txt COPYRIGHT.txt %{python_sitelib}/transaction/ %{python_sitelib}/*.egg-info @@ -101,6 +108,10 @@ popd %changelog +* Tue Aug 08 2017 Zbigniew Jędrzejewski-Szmek - 2.1.2-3 +- Python 2 binary package renamed to python2-transaction + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 2.1.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild