diff --git python-tooz/python-tooz.spec python-tooz/python-tooz.spec.tmp index 2cb9beec1d..99502955cf 100644 --- python-tooz/python-tooz.spec +++ python-tooz/python-tooz.spec.tmp @@ -9,7 +9,7 @@ Name: python-%{pypi_name} Version: 1.48.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Coordination library for distributed systems License: ASL 2.0 @@ -20,6 +20,17 @@ BuildArch: noarch BuildRequires: python2-devel BuildRequires: python-setuptools BuildRequires: python-pbr >= 1.8 + + +%global _description\ +The Tooz project aims at centralizing the most common distributed primitives\ +like group membership protocol, lock service and leader election by providing\ +a coordination API helping developers to build distributed applications. + +%description %_description + +%package -n python2-%{pypi_name} +Summary: %summary Requires: python-babel Requires: python-fasteners Requires: python-futures @@ -33,12 +44,9 @@ Requires: python-six >= 1.9.0 Requires: python-stevedore >= 1.16.0 Requires: python-voluptuous >= 0.8.9 Requires: python-zake +%{?python_provide:%python_provide python2-%{pypi_name}} - -%description -The Tooz project aims at centralizing the most common distributed primitives -like group membership protocol, lock service and leader election by providing -a coordination API helping developers to build distributed applications. +%description -n python2-%{pypi_name} %_description %if 0%{?with_python3} %package -n python3-%{pypi_name} @@ -120,7 +128,7 @@ rm -fr %{buildroot}%{python3_sitelib}/%{pypi_name}/tests/ -%files +%files -n python2-%{pypi_name} %license LICENSE %doc README.rst %{python2_sitelib}/%{pypi_name} @@ -139,6 +147,10 @@ rm -fr %{buildroot}%{python3_sitelib}/%{pypi_name}/tests/ %doc html %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 1.48.0-4 +- Python 2 binary package renamed to python2-tooz + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 1.48.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild