update to 0.9-6

Signed-off-by: Andy Grover <agrover@redhat.com>
This commit is contained in:
Andy Grover 2014-10-30 10:43:11 -07:00
parent 5cd5066453
commit 3a9a54023a

View File

@ -3,12 +3,13 @@ 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: 5%{?dist} Release: 6%{?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
BuildRequires: python3-devel
BuildRequires: python-setuptools BuildRequires: python-setuptools
BuildRequires: Cython BuildRequires: Cython python3-Cython python3
BuildRequires: kmod-devel BuildRequires: kmod-devel
%{?filter_setup: %{?filter_setup:
@ -20,21 +21,39 @@ BuildRequires: kmod-devel
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.
%package -n python3-kmod
Group: Development/Libraries
Summary: Python module to work with kernel modules
%description -n python3-kmod
Python module to allow listing, loading, and unloading
Linux kernel modules, using libkmod.
%prep %prep
%setup -q %setup -q
%build %build
%{__python} setup.py build %{__python} setup.py build
%{__python3} setup.py build
%install %install
%{__python} setup.py install --skip-build --root %{buildroot} %{__python} setup.py install --skip-build --root %{buildroot}
%{__python3} setup.py install --skip-build --root %{buildroot}
%files %files
%{python_sitearch}/kmod/* %{python_sitearch}/kmod/*
%{python_sitearch}/kmod*.egg-info %{python_sitearch}/kmod*.egg-info
%doc COPYING.LESSER README %doc COPYING.LESSER README
%files -n python3-kmod
%{python3_sitearch}/kmod/*
%{python3_sitearch}/kmod*.egg-info
%doc COPYING.LESSER README
%changelog %changelog
* Thu Oct 30 2014 Andy Grover <agrover@redhat.com> - 0.9-6
- Initial Python 3 support
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-5 * Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild