59 lines
1.2 KiB
RPMSpec
59 lines
1.2 KiB
RPMSpec
Name: python-schedutils
|
|
Version: 0.6
|
|
Release: 7
|
|
Summary: Linux scheduler python bindings
|
|
|
|
License: GPLv2
|
|
URL: https://rt.wiki.kernel.org/index.php/Tuna
|
|
Source0: https://git.kernel.org/pub/scm/libs/python/%{name}/%{name}.git/snapshot/%{name}-%{version}.tar.gz
|
|
|
|
BuildRequires: python3-devel gcc
|
|
|
|
%description
|
|
Python interface for the Linux scheduler.
|
|
|
|
%package -n python3-schedutils
|
|
Summary: %{summary}
|
|
%{?python_provide:%python_provide python3-schedutils}
|
|
|
|
%description -n python3-schedutils
|
|
Python3 interface for the Linux scheduler.
|
|
|
|
%package_help
|
|
|
|
%prep
|
|
%autosetup -n %{name}-%{version} -p1
|
|
|
|
%build
|
|
%py3_build
|
|
|
|
%install
|
|
rm -rf %{buildroot}
|
|
%py3_install
|
|
|
|
%files -n python3-schedutils
|
|
%defattr(-,root,root)
|
|
%license COPYING
|
|
%{_bindir}/pchrt
|
|
%{_bindir}/ptaskset
|
|
%{python3_sitearch}/schedutils*.so
|
|
%{python3_sitearch}/*.egg-info
|
|
|
|
%files help
|
|
%defattr(-,root,root)
|
|
%{_mandir}/man1/pchrt.1.gz
|
|
%{_mandir}/man1/ptaskset.1.gz
|
|
|
|
%changelog
|
|
* Thu Jun 24 2021 yuanxin<yuanxin24@huawei.com> - 0.6-7
|
|
- Type:bugfix
|
|
- CVE:NA
|
|
- SUG:NA
|
|
- DESC:add buildrequires gcc
|
|
|
|
* Fri Oct 30 2020 tianwei <tianwei12@huawei.com> - 0.6-6
|
|
- remove python2
|
|
|
|
* Mon Sep 17 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.6-5
|
|
- Package init
|