From 711f6200d1ebc7461f90643a05d8f2d7d35ceb02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Thu, 27 Dec 2018 12:44:07 +0100 Subject: [PATCH] Subpackage python2-kmod has been removed --- python-kmod.spec | 33 +++++++++------------------------ 1 file changed, 9 insertions(+), 24 deletions(-) diff --git a/python-kmod.spec b/python-kmod.spec index 30121ef..bf4410f 100644 --- a/python-kmod.spec +++ b/python-kmod.spec @@ -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 - 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 - 0.9-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild