python-schedutils/python-schedutils.spec

53 lines
1.1 KiB
RPMSpec
Raw Normal View History

2019-09-30 11:15:32 -04:00
Name: python-schedutils
Version: 0.6
2020-10-30 16:35:02 +08:00
Release: 6
2019-09-30 11:15:32 -04:00
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
%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
2020-10-30 16:35:02 +08:00
* Fri Oct 30 2020 tianwei <tianwei12@huawei.com> - 0.6-6
- remove python2
2019-09-30 11:15:32 -04:00
* Mon Sep 17 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.6-5
- Package init