Python 2 binary package renamed to python2-kmod

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2017-08-19 09:41:18 -04:00
parent f3752c9c02
commit 65ae88b98e

View File

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