diff --git python-beanstalkc/python-beanstalkc.spec python-beanstalkc/python-beanstalkc.spec.tmp index 6988e21a86..bbe2c2f8a4 100644 --- python-beanstalkc/python-beanstalkc.spec +++ python-beanstalkc/python-beanstalkc.spec.tmp @@ -3,7 +3,7 @@ name: python-%{upstream_name} Version: %{upstream_version} -Release: 5%{?dist} +Release: 6%{?dist} Summary: A simple beanstalkd client library for Python License: ASL 2.0 URL: https://github.com/earl/beanstalkc @@ -13,10 +13,18 @@ BuildRequires: python2-devel BuildRequires: python-setuptools BuildArch: noarch -%description -beanstalkc is a simple beanstalkd client library for Python. beanstalkd is a +%global _description\ +beanstalkc is a simple beanstalkd client library for Python. beanstalkd is a\ fast, distributed, in-memory workqueue service. +%description %_description + +%package -n python2-%{upstream_name} +Summary: %summary +%{?python_provide:%python_provide python2-%{upstream_name}} + +%description -n python2-%{upstream_name} %_description + %prep %setup -qn %{upstream_name}-%{upstream_version} rm -rf %{upstream_name}.egg-info @@ -28,10 +36,14 @@ sed -i -e '/^#!\//, 1d' beanstalkc.py %install %{__python2} setup.py install --skip-build --root %{buildroot} -%files +%files -n python2-%{upstream_name} %{python2_sitelib}/* %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.4.0-6 +- Python 2 binary package renamed to python2-beanstalkc + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.4.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild