代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/python-schedutils 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
%global without_python3 1
Name: python-schedutils
Version: 0.6
Release: 5
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: python2-devel
%if 0%{?with_python3}
BuildRequires: python3-devel
%endif
%description
Python interface for the Linux scheduler.
%package -n python2-schedutils
Summary: %{summary}
%{?python_provide:%python_provide python2-schedutils}
%description -n python2-schedutils
Python2 interface for the Linux scheduler.
%if 0%{?with_python3}
%package -n python3-schedutils
Summary: %{summary}
%{?python_provide:%python_provide python3-schedutils}
%description -n python3-schedutils
Python3 interface for the Linux scheduler.
%endif
%package_help
%prep
%autosetup -n %{name}-%{version} -p1
%build
%py2_build
%if 0%{?with_python3}
%py3_build
%endif
%install
rm -rf %{buildroot}
%py2_install
%if 0%{?with_python3}
%py3_install
%endif
%files -n python2-schedutils
%defattr(-,root,root)
%license COPYING
%if 0%{?without_python3}
%{_bindir}/pchrt
%{_bindir}/ptaskset
%endif
%{python2_sitearch}/schedutils.so
%{python2_sitearch}/*.egg-info
%if 0%{?with_python3}
%files -n python3-schedutils
%defattr(-,root,root)
%license COPYING
%{_bindir}/pchrt
%{_bindir}/ptaskset
%{python3_sitearch}/schedutils*.so
%{python3_sitearch}/*.egg-info
%endif
%files help
%defattr(-,root,root)
%{_mandir}/man1/pchrt.1.gz
%{_mandir}/man1/ptaskset.1.gz
%changelog
* Mon Sep 17 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.6-5
- Package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。