diff --git python-schedutils/python-schedutils.spec python-schedutils/python-schedutils.spec.tmp index 13d5d5549f..80271b703e 100644 --- python-schedutils/python-schedutils.spec +++ python-schedutils/python-schedutils.spec.tmp @@ -4,7 +4,7 @@ Summary: Linux scheduler python bindings Name: python-schedutils Version: 0.5 -Release: 4%{?dist} +Release: 5%{?dist} License: GPLv2 URL: https://rt.wiki.kernel.org/index.php/Tuna Source: https://cdn.kernel.org/pub/software/libs/python/%{name}/%{name}-%{version}.tar.xz @@ -12,10 +12,18 @@ Group: System Environment/Libraries BuildRequires: python-devel BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -%description -Python interface for the Linux scheduler sched_{get,set}{affinity,scheduler} +%global _description\ +Python interface for the Linux scheduler sched_{get,set}{affinity,scheduler}\ functions and friends. +%description %_description + +%package -n python2-schedutils +Summary: %summary +%{?python_provide:%python_provide python2-schedutils} + +%description -n python2-schedutils %_description + %prep %setup -q @@ -32,7 +40,7 @@ cp -p ptaskset.py %{buildroot}%{_bindir}/ptaskset %clean rm -rf %{buildroot} -%files +%files -n python2-schedutils %defattr(-,root,root) %doc COPYING %{_bindir}/pchrt @@ -43,6 +51,10 @@ rm -rf %{buildroot} %endif %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.5-5 +- Python 2 binary package renamed to python2-schedutils + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Aug 03 2017 Fedora Release Engineering - 0.5-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild