diff --git python-pthreading/python-pthreading.spec python-pthreading/python-pthreading.spec.tmp index 871db07462..c976205e86 100644 --- python-pthreading/python-pthreading.spec +++ python-pthreading/python-pthreading.spec.tmp @@ -3,7 +3,7 @@ Summary: Re-implement threading.Lock, RLock and Condition with libpthread Name: python-pthreading Version: 0.1.3 -Release: 8%{?dist} +Release: 9%{?dist} License: GPLv2+ Group: System Environment/Libraries @@ -17,13 +17,21 @@ BuildRequires: python2 Patch0: python-pthreading-01-COPYING-and-tests.patch Patch1: 0003-Add-the-missing-locked-interface.patch -%description -The pthreading module provides Lock and Condition synchronization -objects compatible with Python native threading module. -The implementation, however, is based on POSIX thread library as delivered -by the libpthread and has considerable performance benefits over Python 2.x's +%global _description\ +The pthreading module provides Lock and Condition synchronization\ +objects compatible with Python native threading module.\ +The implementation, however, is based on POSIX thread library as delivered\ +by the libpthread and has considerable performance benefits over Python 2.x's\ implementation. +%description %_description + +%package -n python2-pthreading +Summary: %summary +%{?python_provide:%python_provide python2-pthreading} + +%description -n python2-pthreading %_description + %prep %setup -q -n pthreading-%{version} %patch0 @@ -37,13 +45,17 @@ implementation. %check %{__python} setup.py test -%files +%files -n python2-pthreading %doc COPYING %{python_sitelib}/pthread.py* %{python_sitelib}/pthreading.py* %{python_sitelib}/pthreading-%{version}-py*.egg-info %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.1.3-9 +- Python 2 binary package renamed to python2-pthreading + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.1.3-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild