Python 2 binary package renamed to python2-schedutils

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2017-08-19 09:42:42 -04:00
parent dc56e98256
commit 1b1c55aa1e

View File

@ -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 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.5-5
- Python 2 binary package renamed to python2-schedutils
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild