diff --git python-kazoo/python-kazoo.spec python-kazoo/python-kazoo.spec.tmp index 1b61fa1954..b3294a1696 100644 --- python-kazoo/python-kazoo.spec +++ python-kazoo/python-kazoo.spec.tmp @@ -13,7 +13,7 @@ Name: python-%{pypi_name} Version: 2.2.1 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Higher level Python Zookeeper client License: ASL 2.0 @@ -26,10 +26,18 @@ BuildRequires: python-setuptools # For building documentation BuildRequires: python-sphinx -%description -Kazoo is a Python library designed to make working with Zookeeper a more +%global _description\ +Kazoo is a Python library designed to make working with Zookeeper a more\ hassle-free experience that is less prone to errors. +%description %_description + +%package -n python2-%{pypi_name} +Summary: %summary +%{?python_provide:%python_provide python2-%{pypi_name}} + +%description -n python2-%{pypi_name} %_description + %if 0%{?with_python3} %package -n python3-%{pypi_name} Summary: Higher level Python Zookeeper client @@ -99,7 +107,7 @@ popd rm -fr %{buildroot}%{python2_sitelib}/%{pypi_name}/tests/ rm -fr %{buildroot}%{python3_sitelib}/%{pypi_name}/tests/ -%files +%files -n python2-%{pypi_name} %doc README.rst LICENSE %{python2_sitelib}/%{pypi_name} %{python2_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info @@ -116,6 +124,10 @@ rm -fr %{buildroot}%{python3_sitelib}/%{pypi_name}/tests/ %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 2.2.1-6 +- Python 2 binary package renamed to python2-kazoo + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 2.2.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild