diff --git python-kmod/python-kmod.spec python-kmod/python-kmod.spec.tmp index afda336681..aed4aa5b77 100644 --- python-kmod/python-kmod.spec +++ python-kmod/python-kmod.spec.tmp @@ -3,7 +3,7 @@ License: LGPLv2+ Group: Development/Libraries Summary: Python module to work with kernel modules Version: 0.9 -Release: 15%{?dist} +Release: 16%{?dist} URL: https://github.com/agrover/python-kmod/ Source0: https://github.com/downloads/agrover/%{name}/%{name}-%{version}.tar.gz BuildRequires: python2-devel @@ -17,10 +17,18 @@ BuildRequires: kmod-devel %filter_setup } -%description -Python module to allow listing, loading, and unloading +%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 @@ -40,7 +48,7 @@ Linux kernel modules, using libkmod. %{__python} setup.py install --skip-build --root %{buildroot} %{__python3} setup.py install --skip-build --root %{buildroot} -%files +%files -n python2-kmod %{python_sitearch}/kmod/* %{python_sitearch}/kmod*.egg-info %doc COPYING.LESSER README @@ -51,6 +59,10 @@ Linux kernel modules, using libkmod. %doc COPYING.LESSER README %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.9-16 +- Python 2 binary package renamed to python2-kmod + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Aug 03 2017 Fedora Release Engineering - 0.9-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild