diff --git a/python-schedutils-0.6.tar.xz b/python-schedutils-0.6.tar.xz new file mode 100644 index 0000000000000000000000000000000000000000..747581d5e7ba8f8f6eae440e517b9dd4e84405cb Binary files /dev/null and b/python-schedutils-0.6.tar.xz differ diff --git a/python-schedutils.spec b/python-schedutils.spec new file mode 100644 index 0000000000000000000000000000000000000000..235e4df84e720a2ad7cdbb007d1e5de1ab850bb6 --- /dev/null +++ b/python-schedutils.spec @@ -0,0 +1,47 @@ +%define anolis_release 1 +Summary: Linux scheduler python bindings +Name: python-schedutils +Version: 0.6 +Release: %{anolis_release}%{?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 + +BuildRequires: python3-devel +BuildRequires: gcc + + +%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 +%py3_install + +%files -n python3-schedutils +%license COPYING +%{_bindir}/pchrt +%{_bindir}/ptaskset +%{_mandir}/man1/pchrt.1* +%{_mandir}/man1/ptaskset.1* +%{python3_sitearch}/schedutils*.so +%{python3_sitearch}/*.egg-info + +%changelog +* Tue Mar 08 2022 mgb01105731 - 0.6-1 +- Init from upstream version 0.6 +