Subpackage python2-schedutils has been removed
This commit is contained in:
parent
e4bf7e4c86
commit
89fb31d85e
@ -1,21 +1,13 @@
|
||||
%if 0%{?fedora}
|
||||
%global with_python3 1
|
||||
%else
|
||||
%global without_python3 1
|
||||
%endif
|
||||
|
||||
Summary: Linux scheduler python bindings
|
||||
Name: python-schedutils
|
||||
Version: 0.6
|
||||
Release: 6%{?dist}
|
||||
Release: 7%{?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: python2-devel
|
||||
|
||||
%if 0%{?with_python3}
|
||||
BuildRequires: python3-devel
|
||||
%endif
|
||||
BuildRequires: gcc
|
||||
|
||||
|
||||
%global _description\
|
||||
@ -24,50 +16,21 @@ functions and friends.
|
||||
|
||||
%description %_description
|
||||
|
||||
%package -n python2-schedutils
|
||||
Summary: %summary
|
||||
%{?python_provide:%python_provide python2-schedutils}
|
||||
|
||||
%description -n python2-schedutils %_description
|
||||
|
||||
%if 0%{?with_python3}
|
||||
%package -n python3-schedutils
|
||||
Summary: %summary
|
||||
%{?python_provide:%python_provide python3-schedutils}
|
||||
|
||||
%description -n python3-schedutils %_description
|
||||
%endif
|
||||
|
||||
%prep
|
||||
%autosetup -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
|
||||
%{python2_sitearch}/schedutils.so
|
||||
%license COPYING
|
||||
%if 0%{?without_python3}
|
||||
%{_bindir}/pchrt
|
||||
%{_bindir}/ptaskset
|
||||
%{_mandir}/man1/pchrt.1*
|
||||
%{_mandir}/man1/ptaskset.1*
|
||||
%endif
|
||||
%{python2_sitearch}/*.egg-info
|
||||
|
||||
%if 0%{?with_python3}
|
||||
%files -n python3-schedutils
|
||||
%license COPYING
|
||||
%{_bindir}/pchrt
|
||||
@ -76,9 +39,12 @@ rm -rf %{buildroot}
|
||||
%{_mandir}/man1/ptaskset.1*
|
||||
%{python3_sitearch}/schedutils*.so
|
||||
%{python3_sitearch}/*.egg-info
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Mon Feb 25 2019 Miro Hrončok <mhroncok@redhat.com> - 0.6-7
|
||||
- Subpackage python2-schedutils has been removed
|
||||
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
||||
|
||||
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user