Subpackage python2-kmod has been removed

This commit is contained in:
Miro Hrončok 2018-12-27 12:44:07 +01:00
parent 926a09d34b
commit 711f6200d1

View File

@ -3,32 +3,20 @@ License: LGPLv2+
Group: Development/Libraries
Summary: Python module to work with kernel modules
Version: 0.9
Release: 21%{?dist}
Release: 22%{?dist}
URL: https://github.com/agrover/python-kmod/
Source0: https://github.com/downloads/agrover/%{name}/%{name}-%{version}.tar.gz
BuildRequires: python2-devel
BuildRequires: python3-devel
BuildRequires: python2-setuptools
BuildRequires: python2-Cython python3-Cython python3
BuildRequires: python3-Cython
BuildRequires: python3
BuildRequires: kmod-devel
%{?filter_setup:
%filter_provides_in %{python_sitearch}.*\.so$
%filter_setup
}
%global _description\
Python module to allow listing, loading, and unloading\
Linux kernel modules, using libkmod.
%description %_description
%package -n python2-kmod
Summary: %summary
%{?python_provide:%python_provide python2-kmod}
%description -n python2-kmod %_description
%package -n python3-kmod
Group: Development/Libraries
Summary: Python module to work with kernel modules
@ -41,17 +29,10 @@ Linux kernel modules, using libkmod.
%setup -q
%build
%py2_build
%{__python3} setup.py build
%py3_build
%install
%py2_install
%{__python3} setup.py install --skip-build --root %{buildroot}
%files -n python2-kmod
%{python2_sitearch}/kmod/
%{python2_sitearch}/kmod*.egg-info
%doc COPYING.LESSER README
%py3_install
%files -n python3-kmod
%{python3_sitearch}/kmod/
@ -59,6 +40,10 @@ Linux kernel modules, using libkmod.
%doc COPYING.LESSER README
%changelog
* Thu Dec 27 2018 Miro Hrončok <mhroncok@redhat.com> - 0.9-22
- Subpackage python2-kmod has been removed
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-21
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild