From 216720bb899e05e4e90c0566250b1cb93b314eae Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: May 07 2019 09:29:23 +0000 Subject: import python-schedutils-0.6-5.el8 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a40a849 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/python-schedutils-0.6.tar.xz diff --git a/.python-schedutils.metadata b/.python-schedutils.metadata new file mode 100644 index 0000000..d827a05 --- /dev/null +++ b/.python-schedutils.metadata @@ -0,0 +1 @@ +48777c044a4b30b99bf2c84d3e2d645010a5e9d4 SOURCES/python-schedutils-0.6.tar.xz diff --git a/SPECS/python-schedutils.spec b/SPECS/python-schedutils.spec new file mode 100644 index 0000000..9401242 --- /dev/null +++ b/SPECS/python-schedutils.spec @@ -0,0 +1,156 @@ +%global with_python3 1 + +Summary: Linux scheduler python bindings +Name: python-schedutils +Version: 0.6 +Release: 5%{?dist} +License: GPLv2 +URL: https://git.kernel.org/pub/scm/libs/python/python-schedutils/python-schedutils.git +Source: https://git.kernel.org/pub/scm/libs/python/python-schedutils/python-schedutils.git/snapshot/%{name}-%{version}.tar.xz +# If upstream does not provide tarballs, to generate +# git clone git://git.kernel.org/pub/scm/libs/python/python-schedutils/python-schedutils.git +# cd python-schedutils +# git archive --format=tar --prefix=python-schedutils-%%{version}/ v%%{version} | xz -c > python-schedutils-%%{version}.tar.xz +Group: System Environment/Libraries + +BuildRequires: python3-devel + +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +%global _description\ +Python interface for the Linux scheduler sched_{get,set}{affinity,scheduler}\ +functions and friends. + +%description %_description + +%package -n python3-schedutils +Summary: %summary +%{?python_provide:%python_provide python3-schedutils} + +%description -n python3-schedutils %_description + +%prep +%autosetup -p1 + +%build +%py3_build + +%install +rm -rf %{buildroot} +%py3_install + +%clean +rm -rf %{buildroot} + +%files -n python3-schedutils +%defattr(-,root,root) +%license COPYING +%{_bindir}/pchrt +%{_bindir}/ptaskset +%{_mandir}/man1/pchrt.1* +%{_mandir}/man1/ptaskset.1* +%{python3_sitearch}/schedutils*.so +%{python3_sitearch}/*.egg-info + +%changelog +* Tue Jul 31 2018 John Kacur - 0.6-5 +- Fix upstream URL reference and source +Resolves: rhbz#1596854 + +* Fri May 18 2018 John Kacur 0.6-4 +- Drop the python2 subpackage and only build the python3 subpackage +Resolves: rhbz#1579904 + +* Fri Feb 09 2018 Fedora Release Engineering - 0.6-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Tue Nov 21 2017 Jiri Kastner - 0.6-2 +- duplicated license line in file list + +* Mon Nov 20 2017 Jiri Kastner - 0.6-1 +- added python 3 support + +* Sat Aug 19 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 + +* Thu Jul 27 2017 Fedora Release Engineering - 0.5-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 0.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Thu Dec 22 2016 Jiri Kastner - 0.4-7 +- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages + +* Thu Feb 04 2016 Fedora Release Engineering - 0.4-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Thu Jun 18 2015 Fedora Release Engineering - 0.4-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Fri Oct 10 2014 Jiri Kastner - 0.4-4 +- fix source and url + +* Sun Aug 17 2014 Fedora Release Engineering - 0.4-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 0.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Wed Dec 4 2013 Jiri Kastner - 0.4-1 +- new upstream release +- resolves bz #879973 + +* Sun Aug 04 2013 Fedora Release Engineering - 0.2-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Thu Feb 14 2013 Fedora Release Engineering - 0.2-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Sat Jul 21 2012 Fedora Release Engineering - 0.2-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Sat Jan 14 2012 Fedora Release Engineering - 0.2-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Wed Feb 09 2011 Fedora Release Engineering - 0.2-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Thu Jul 22 2010 David Malcolm - 0.2-6 +- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild + +* Sun Jul 26 2009 Fedora Release Engineering - 0.2-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Thu Feb 26 2009 Fedora Release Engineering - 0.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Sat Nov 29 2008 Ignacio Vazquez-Abrams - 0.2-3 +- Rebuild for Python 2.6 + +* Thu Aug 28 2008 Arnaldo Carvalho de Melo - 0.2-2 +- Fix build and install sections as suggested by the fedora rewiewer + (BZ #460387) + +* Wed Aug 27 2008 Arnaldo Carvalho de Melo - 0.2-1 +- Add get_priority_{min,max} methods +- Add constants for SCHED_{BATCH,FIFO,OTHER,RR} +- Implement get_priority method +- Add pchrt utility for testing the bindings, chrt clone +- Add ptaskset utility for testing the bindings, taskset clone + +* Tue Jun 10 2008 Arnaldo Carvalho de Melo - 0.1-3 +- add dist to the release tag + +* Wed Dec 19 2007 Arnaldo Carvalho de Melo - 0.1-2 +- First build into rhel5-rt + +* Wed Dec 19 2007 Arnaldo Carvalho de Melo - 0.1-1 +- Initial package