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
|
2018-07-14 00:46:36 +00:00
|
|
|
Release: 21%{?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
|
2018-01-25 21:57:10 +00:00
|
|
|
BuildRequires: python2-setuptools
|
|
|
|
BuildRequires: python2-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
|
|
|
|
}
|
|
|
|
|
2017-08-19 13:41:18 +00:00
|
|
|
%global _description\
|
|
|
|
Python module to allow listing, loading, and unloading\
|
2012-08-02 16:55:14 +00:00
|
|
|
Linux kernel modules, using libkmod.
|
|
|
|
|
2017-08-19 13:41:18 +00:00
|
|
|
%description %_description
|
|
|
|
|
|
|
|
%package -n python2-kmod
|
|
|
|
Summary: %summary
|
|
|
|
%{?python_provide:%python_provide python2-kmod}
|
|
|
|
|
|
|
|
%description -n python2-kmod %_description
|
|
|
|
|
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
|
2018-07-29 22:24:03 +00:00
|
|
|
%py2_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
|
|
|
|
2017-08-19 13:41:18 +00:00
|
|
|
%files -n python2-kmod
|
2018-07-29 22:22:28 +00:00
|
|
|
%{python2_sitearch}/kmod/
|
|
|
|
%{python2_sitearch}/kmod*.egg-info
|
2012-08-02 16:55:14 +00:00
|
|
|
%doc COPYING.LESSER README
|
|
|
|
|
2014-10-30 17:43:11 +00:00
|
|
|
%files -n python3-kmod
|
2018-01-03 14:42:48 +00:00
|
|
|
%{python3_sitearch}/kmod/
|
2014-10-30 17:43:11 +00:00
|
|
|
%{python3_sitearch}/kmod*.egg-info
|
|
|
|
%doc COPYING.LESSER README
|
|
|
|
|
2012-08-02 16:55:14 +00:00
|
|
|
%changelog
|
2018-07-14 00:46:36 +00:00
|
|
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-21
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-06-19 09:07:05 +00:00
|
|
|
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.9-20
|
|
|
|
- Rebuilt for Python 3.7
|
|
|
|
|
2018-02-09 08:37:25 +00:00
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-19
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2018-01-25 21:57:10 +00:00
|
|
|
* Thu Jan 25 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.9-18
|
|
|
|
- Update Python 2 dependency declarations to new packaging standards
|
|
|
|
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
|
|
|
2018-01-03 14:42:48 +00:00
|
|
|
* Wed Jan 03 2018 Lumír Balhar <lbalhar@redhat.com> - 0.9-17
|
|
|
|
- Fix directory ownership
|
|
|
|
|
2017-08-19 13:41:18 +00:00
|
|
|
* 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
|
|
|
|
|
2017-08-03 06:48:18 +00:00
|
|
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-15
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
2017-07-27 10:45:05 +00:00
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-14
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-07-07 11:11:02 +00:00
|
|
|
* Fri Jul 07 2017 Igor Gnatenko <ignatenko@redhat.com> - 0.9-13
|
|
|
|
- Rebuild due to bug in RPM (RHBZ #1468476)
|
|
|
|
|
2017-02-11 09:26:04 +00:00
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-12
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-12-19 17:20:37 +00:00
|
|
|
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.9-11
|
|
|
|
- Rebuild for Python 3.6
|
|
|
|
|
2016-07-19 10:15:38 +00:00
|
|
|
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-10
|
|
|
|
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
|
|
2016-02-04 20:01:52 +00:00
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
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
|