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
|
Summary: Linux scheduler python bindings
|
||||||
Name: python-schedutils
|
Name: python-schedutils
|
||||||
Version: 0.6
|
Version: 0.6
|
||||||
Release: 6%{?dist}
|
Release: 7%{?dist}
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
URL: https://rt.wiki.kernel.org/index.php/Tuna
|
URL: https://rt.wiki.kernel.org/index.php/Tuna
|
||||||
Source: https://cdn.kernel.org/pub/software/libs/python/%{name}/%{name}-%{version}.tar.xz
|
Source: https://cdn.kernel.org/pub/software/libs/python/%{name}/%{name}-%{version}.tar.xz
|
||||||
BuildRequires: python2-devel
|
|
||||||
|
|
||||||
%if 0%{?with_python3}
|
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
%endif
|
BuildRequires: gcc
|
||||||
|
|
||||||
|
|
||||||
%global _description\
|
%global _description\
|
||||||
@ -24,50 +16,21 @@ functions and friends.
|
|||||||
|
|
||||||
%description %_description
|
%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
|
%package -n python3-schedutils
|
||||||
Summary: %summary
|
Summary: %summary
|
||||||
%{?python_provide:%python_provide python3-schedutils}
|
%{?python_provide:%python_provide python3-schedutils}
|
||||||
|
|
||||||
%description -n python3-schedutils %_description
|
%description -n python3-schedutils %_description
|
||||||
%endif
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1
|
%autosetup -p1
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py2_build
|
|
||||||
%if 0%{?with_python3}
|
|
||||||
%py3_build
|
%py3_build
|
||||||
%endif
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf %{buildroot}
|
|
||||||
%py2_install
|
|
||||||
%if 0%{?with_python3}
|
|
||||||
%py3_install
|
%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
|
%files -n python3-schedutils
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%{_bindir}/pchrt
|
%{_bindir}/pchrt
|
||||||
@ -76,9 +39,12 @@ rm -rf %{buildroot}
|
|||||||
%{_mandir}/man1/ptaskset.1*
|
%{_mandir}/man1/ptaskset.1*
|
||||||
%{python3_sitearch}/schedutils*.so
|
%{python3_sitearch}/schedutils*.so
|
||||||
%{python3_sitearch}/*.egg-info
|
%{python3_sitearch}/*.egg-info
|
||||||
%endif
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6-6
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user