|
|
216720 |
%global with_python3 1
|
|
|
216720 |
|
|
|
216720 |
Summary: Linux scheduler python bindings
|
|
|
216720 |
Name: python-schedutils
|
|
|
216720 |
Version: 0.6
|
|
|
b0a9d5 |
Release: 6%{?dist}
|
|
|
216720 |
License: GPLv2
|
|
|
216720 |
URL: https://git.kernel.org/pub/scm/libs/python/python-schedutils/python-schedutils.git
|
|
|
216720 |
Source: https://git.kernel.org/pub/scm/libs/python/python-schedutils/python-schedutils.git/snapshot/%{name}-%{version}.tar.xz
|
|
|
216720 |
# If upstream does not provide tarballs, to generate
|
|
|
216720 |
# git clone git://git.kernel.org/pub/scm/libs/python/python-schedutils/python-schedutils.git
|
|
|
216720 |
# cd python-schedutils
|
|
|
216720 |
# git archive --format=tar --prefix=python-schedutils-%%{version}/ v%%{version} | xz -c > python-schedutils-%%{version}.tar.xz
|
|
|
216720 |
Group: System Environment/Libraries
|
|
|
216720 |
|
|
|
216720 |
BuildRequires: python3-devel
|
|
|
216720 |
|
|
|
216720 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
216720 |
|
|
|
216720 |
%global _description\
|
|
|
216720 |
Python interface for the Linux scheduler sched_{get,set}{affinity,scheduler}\
|
|
|
216720 |
functions and friends.
|
|
|
216720 |
|
|
|
216720 |
%description %_description
|
|
|
216720 |
|
|
|
216720 |
%package -n python3-schedutils
|
|
|
216720 |
Summary: %summary
|
|
|
216720 |
%{?python_provide:%python_provide python3-schedutils}
|
|
|
216720 |
|
|
|
216720 |
%description -n python3-schedutils %_description
|
|
|
216720 |
|
|
|
216720 |
%prep
|
|
|
216720 |
%autosetup -p1
|
|
|
216720 |
|
|
|
216720 |
%build
|
|
|
216720 |
%py3_build
|
|
|
216720 |
|
|
|
216720 |
%install
|
|
|
216720 |
rm -rf %{buildroot}
|
|
|
216720 |
%py3_install
|
|
|
216720 |
|
|
|
216720 |
%clean
|
|
|
216720 |
rm -rf %{buildroot}
|
|
|
216720 |
|
|
|
216720 |
%files -n python3-schedutils
|
|
|
216720 |
%defattr(-,root,root)
|
|
|
216720 |
%license COPYING
|
|
|
216720 |
%{_bindir}/pchrt
|
|
|
216720 |
%{_bindir}/ptaskset
|
|
|
216720 |
%{_mandir}/man1/pchrt.1*
|
|
|
216720 |
%{_mandir}/man1/ptaskset.1*
|
|
|
216720 |
%{python3_sitearch}/schedutils*.so
|
|
|
216720 |
%{python3_sitearch}/*.egg-info
|
|
|
216720 |
|
|
|
216720 |
%changelog
|
|
|
b0a9d5 |
* Wed Apr 03 2019 Clark Williams <williams@redhat.com> - 0.6-6
|
|
|
b0a9d5 |
- Added OSCI gating framework
|
|
|
b0a9d5 |
Resolves: rhbz#1682408
|
|
|
b0a9d5 |
|
|
|
216720 |
* Tue Jul 31 2018 John Kacur <jkacur@redhat.com> - 0.6-5
|
|
|
216720 |
- Fix upstream URL reference and source
|
|
|
216720 |
Resolves: rhbz#1596854
|
|
|
216720 |
|
|
|
216720 |
* Fri May 18 2018 John Kacur <jkacur@redhat.com> 0.6-4
|
|
|
216720 |
- Drop the python2 subpackage and only build the python3 subpackage
|
|
|
216720 |
Resolves: rhbz#1579904
|
|
|
216720 |
|
|
|
216720 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6-3
|
|
|
216720 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
216720 |
|
|
|
216720 |
* Tue Nov 21 2017 Jiri Kastner <jkastner@redhat.com> - 0.6-2
|
|
|
216720 |
- duplicated license line in file list
|
|
|
216720 |
|
|
|
216720 |
* Mon Nov 20 2017 Jiri Kastner <jkastner@redhat.com> - 0.6-1
|
|
|
216720 |
- added python 3 support
|
|
|
216720 |
|
|
|
216720 |
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.5-5
|
|
|
216720 |
- Python 2 binary package renamed to python2-schedutils
|
|
|
216720 |
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
|
|
|
216720 |
|
|
|
216720 |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-4
|
|
|
216720 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
216720 |
|
|
|
216720 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-3
|
|
|
216720 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
216720 |
|
|
|
216720 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-2
|
|
|
216720 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
216720 |
|
|
|
216720 |
* Thu Dec 22 2016 Jiri Kastner
|
|
|
216720 |
- new upstream release
|
|
|
216720 |
|
|
|
216720 |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-7
|
|
|
216720 |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
216720 |
|
|
|
216720 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.4-6
|
|
|
216720 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
216720 |
|
|
|
216720 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-5
|
|
|
216720 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
216720 |
|
|
|
216720 |
* Fri Oct 10 2014 Jiri Kastner <jkastner@redhat.com> - 0.4-4
|
|
|
216720 |
- fix source and url
|
|
|
216720 |
|
|
|
216720 |
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-3
|
|
|
216720 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
216720 |
|
|
|
216720 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-2
|
|
|
216720 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
216720 |
|
|
|
216720 |
* Wed Dec 4 2013 Jiri Kastner <jkastner@redhat.com> - 0.4-1
|
|
|
216720 |
- new upstream release
|
|
|
216720 |
- resolves bz #879973
|
|
|
216720 |
|
|
|
216720 |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2-11
|
|
|
216720 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
216720 |
|
|
|
216720 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2-10
|
|
|
216720 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
216720 |
|
|
|
216720 |
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2-9
|
|
|
216720 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
216720 |
|
|
|
216720 |
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2-8
|
|
|
216720 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
216720 |
|
|
|
216720 |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2-7
|
|
|
216720 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
216720 |
|
|
|
216720 |
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 0.2-6
|
|
|
216720 |
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
|
|
|
216720 |
|
|
|
216720 |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2-5
|
|
|
216720 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
216720 |
|
|
|
216720 |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2-4
|
|
|
216720 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
216720 |
|
|
|
216720 |
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.2-3
|
|
|
216720 |
- Rebuild for Python 2.6
|
|
|
216720 |
|
|
|
216720 |
* Thu Aug 28 2008 Arnaldo Carvalho de Melo <acme@redhat.com> - 0.2-2
|
|
|
216720 |
- Fix build and install sections as suggested by the fedora rewiewer
|
|
|
216720 |
(BZ #460387)
|
|
|
216720 |
|
|
|
216720 |
* Wed Aug 27 2008 Arnaldo Carvalho de Melo <acme@redhat.com> - 0.2-1
|
|
|
216720 |
- Add get_priority_{min,max} methods
|
|
|
216720 |
- Add constants for SCHED_{BATCH,FIFO,OTHER,RR}
|
|
|
216720 |
- Implement get_priority method
|
|
|
216720 |
- Add pchrt utility for testing the bindings, chrt clone
|
|
|
216720 |
- Add ptaskset utility for testing the bindings, taskset clone
|
|
|
216720 |
|
|
|
216720 |
* Tue Jun 10 2008 Arnaldo Carvalho de Melo <acme@redhat.com> - 0.1-3
|
|
|
216720 |
- add dist to the release tag
|
|
|
216720 |
|
|
|
216720 |
* Wed Dec 19 2007 Arnaldo Carvalho de Melo <acme@redhat.com> - 0.1-2
|
|
|
216720 |
- First build into rhel5-rt
|
|
|
216720 |
|
|
|
216720 |
* Wed Dec 19 2007 Arnaldo Carvalho de Melo <acme@redhat.com> - 0.1-1
|
|
|
216720 |
- Initial package
|