diff --git python-affinity/python-affinity.spec python-affinity/python-affinity.spec.tmp index 3ff870877c..ec4b536ea9 100644 --- python-affinity/python-affinity.spec +++ python-affinity/python-affinity.spec.tmp @@ -3,7 +3,7 @@ Name: python-affinity Version: 0.1.0 -Release: 10%{?dist} +Release: 11%{?dist} Summary: Control processor affinity on windows and linux License: Python URL: https://pypi.python.org/pypi/affinity @@ -12,14 +12,20 @@ Source0: http://pypi.python.org/packages/source/a/%{srcname}/%{srcname}-%{versio BuildRequires: python2-devel BuildRequires: python-setuptools -Provides: python2-affinity = %{version}-%{release} - -%description -'affinity' provides a simple api for setting the processor affinity by -wrapping the specific underlying function calls of each -platform. works on windows (requires pywin32) and linux (kernel 2.6 or +%global _description\ +'affinity' provides a simple api for setting the processor affinity by\ +wrapping the specific underlying function calls of each\ +platform. works on windows (requires pywin32) and linux (kernel 2.6 or\ patched 2.4). +%description %_description + +%package -n python2-affinity +Summary: %summary +%{?python_provide:%python_provide python2-affinity} + +%description -n python2-affinity %_description + %prep %setup -q -n %{srcname}-%{version} @@ -33,11 +39,15 @@ chmod 755 %{buildroot}/%{python2_sitearch}/affinity/_affinity.so %check %{__python2} setup.py test -%files +%files -n python2-affinity %{python_sitearch}/%{srcname}/ %{python_sitearch}/%{srcname}-*.egg-info %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.1.0-11 +- Python 2 binary package renamed to python2-affinity + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Aug 03 2017 Fedora Release Engineering - 0.1.0-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild