2012-08-02 16:55:14 +00:00
|
|
|
Name: python-kmod
|
|
|
|
License: LGPLv2+
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Python module to work with kernel modules
|
2012-10-22 19:03:47 +00:00
|
|
|
Version: 0.9
|
2015-11-10 16:16:03 +00:00
|
|
|
Release: 8%{?dist}
|
2012-08-02 16:55:14 +00:00
|
|
|
URL: https://github.com/agrover/python-kmod/
|
|
|
|
Source0: https://github.com/downloads/agrover/%{name}/%{name}-%{version}.tar.gz
|
|
|
|
BuildRequires: python2-devel
|
2014-10-30 17:43:11 +00:00
|
|
|
BuildRequires: python3-devel
|
2012-08-02 16:55:14 +00:00
|
|
|
BuildRequires: python-setuptools
|
2014-10-30 17:43:11 +00:00
|
|
|
BuildRequires: Cython python3-Cython python3
|
2012-08-02 16:55:14 +00:00
|
|
|
BuildRequires: kmod-devel
|
|
|
|
|
|
|
|
%{?filter_setup:
|
|
|
|
%filter_provides_in %{python_sitearch}.*\.so$
|
|
|
|
%filter_setup
|
|
|
|
}
|
|
|
|
|
|
|
|
%description
|
|
|
|
Python module to allow listing, loading, and unloading
|
|
|
|
Linux kernel modules, using libkmod.
|
|
|
|
|
2014-10-30 17:43:11 +00:00
|
|
|
%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.
|
|
|
|
|
2012-08-02 16:55:14 +00:00
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%{__python} setup.py build
|
2014-10-30 17:43:11 +00:00
|
|
|
%{__python3} setup.py build
|
2012-08-02 16:55:14 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
%{__python} setup.py install --skip-build --root %{buildroot}
|
2014-10-30 17:43:11 +00:00
|
|
|
%{__python3} setup.py install --skip-build --root %{buildroot}
|
2012-08-02 16:55:14 +00:00
|
|
|
|
|
|
|
%files
|
2012-10-22 19:03:47 +00:00
|
|
|
%{python_sitearch}/kmod/*
|
2012-08-02 16:55:14 +00:00
|
|
|
%{python_sitearch}/kmod*.egg-info
|
|
|
|
%doc COPYING.LESSER README
|
|
|
|
|
2014-10-30 17:43:11 +00:00
|
|
|
%files -n python3-kmod
|
|
|
|
%{python3_sitearch}/kmod/*
|
|
|
|
%{python3_sitearch}/kmod*.egg-info
|
|
|
|
%doc COPYING.LESSER README
|
|
|
|
|
2012-08-02 16:55:14 +00:00
|
|
|
%changelog
|
2015-11-10 16:16:03 +00:00
|
|
|
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
|
|
|
|
|
2015-06-18 19:46:30 +00:00
|
|
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2014-10-30 17:43:11 +00:00
|
|
|
* Thu Oct 30 2014 Andy Grover <agrover@redhat.com> - 0.9-6
|
|
|
|
- Initial Python 3 support
|
|
|
|
|
2014-08-17 21:19:15 +00:00
|
|
|
* 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
|
|
|
|
|
2014-06-07 21:06:14 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2013-08-04 08:11:22 +00:00
|
|
|
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-02-14 19:44:31 +00:00
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-10-22 19:03:47 +00:00
|
|
|
* Mon Oct 22 2012 Andy Grover <agrover@redhat.com> - 0.9-1
|
|
|
|
- Update for new upstream release
|
|
|
|
- Add build dep on Cython
|
|
|
|
|
2012-08-02 16:55:14 +00:00
|
|
|
* Wed Aug 1 2012 Andy Grover <agrover@redhat.com> - 0.1-4
|
|
|
|
- Update for new upstream release location
|
|
|
|
|
|
|
|
* Fri May 4 2012 Andy Grover <agrover@redhat.com> - 0.1-3
|
|
|
|
- Update for new upstream release location
|
|
|
|
|
|
|
|
* Tue Apr 17 2012 Andy Grover <agrover@redhat.com> - 0.1-2
|
|
|
|
- Correct License field to LGPLv2+
|
|
|
|
- Remove explicit Requires for kmod-libs
|
|
|
|
|
|
|
|
* Thu Apr 12 2012 Andy Grover <agrover@redhat.com> - 0.1-1
|
|
|
|
- Initial packaging
|