1bb0b8
Name:           python-kmod
1bb0b8
License:        LGPLv2+
1bb0b8
Summary:        Python module to work with kernel modules
1bb0b8
Version:        0.9
1bb0b8
Release:        32%{?dist}
1bb0b8
URL:            https://github.com/agrover/python-kmod/
1bb0b8
Source0:        https://github.com/downloads/agrover/%{name}/%{name}-%{version}.tar.gz
1bb0b8
BuildRequires:  gcc
1bb0b8
BuildRequires:  python3-devel
1bb0b8
BuildRequires:  python3-Cython
1bb0b8
BuildRequires:  python3
1bb0b8
BuildRequires:  kmod-devel
1bb0b8
1bb0b8
%global _description\
1bb0b8
Python module to allow listing, loading, and unloading\
1bb0b8
Linux kernel modules, using libkmod.
1bb0b8
1bb0b8
%description %_description
1bb0b8
1bb0b8
%package -n python3-kmod
1bb0b8
Summary:        Python module to work with kernel modules
1bb0b8
1bb0b8
%description -n python3-kmod
1bb0b8
Python module to allow listing, loading, and unloading
1bb0b8
Linux kernel modules, using libkmod.
1bb0b8
1bb0b8
%prep
1bb0b8
%setup -q
1bb0b8
1bb0b8
%build
1bb0b8
%py3_build
1bb0b8
1bb0b8
%install
1bb0b8
%py3_install
1bb0b8
1bb0b8
%files -n python3-kmod
1bb0b8
%{python3_sitearch}/kmod/
1bb0b8
%{python3_sitearch}/kmod*.egg-info
1bb0b8
%doc COPYING.LESSER README
1bb0b8
1bb0b8
%changelog
1bb0b8
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 0.9-32
1bb0b8
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
1bb0b8
  Related: rhbz#1991688
1bb0b8
1bb0b8
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.9-31
1bb0b8
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
1bb0b8
1bb0b8
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-30
1bb0b8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
1bb0b8
1bb0b8
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-29
1bb0b8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
1bb0b8
1bb0b8
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.9-28
1bb0b8
- Rebuilt for Python 3.9
1bb0b8
1bb0b8
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-27
1bb0b8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
1bb0b8
1bb0b8
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.9-26
1bb0b8
- Rebuilt for Python 3.8.0rc1 (#1748018)
1bb0b8
1bb0b8
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.9-25
1bb0b8
- Rebuilt for Python 3.8
1bb0b8
1bb0b8
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-24
1bb0b8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
1bb0b8
1bb0b8
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-23
1bb0b8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
1bb0b8
1bb0b8
* Thu Dec 27 2018 Miro Hrončok <mhroncok@redhat.com> - 0.9-22
1bb0b8
- Subpackage python2-kmod has been removed
1bb0b8
  See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
1bb0b8
1bb0b8
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-21
1bb0b8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
1bb0b8
1bb0b8
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.9-20
1bb0b8
- Rebuilt for Python 3.7
1bb0b8
1bb0b8
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-19
1bb0b8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
1bb0b8
1bb0b8
* Thu Jan 25 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.9-18
1bb0b8
- Update Python 2 dependency declarations to new packaging standards
1bb0b8
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
1bb0b8
1bb0b8
* Wed Jan 03 2018 Lumír Balhar <lbalhar@redhat.com> - 0.9-17
1bb0b8
- Fix directory ownership
1bb0b8
1bb0b8
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.9-16
1bb0b8
- Python 2 binary package renamed to python2-kmod
1bb0b8
  See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
1bb0b8
1bb0b8
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-15
1bb0b8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
1bb0b8
1bb0b8
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-14
1bb0b8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
1bb0b8
1bb0b8
* Fri Jul 07 2017 Igor Gnatenko <ignatenko@redhat.com> - 0.9-13
1bb0b8
- Rebuild due to bug in RPM (RHBZ #1468476)
1bb0b8
1bb0b8
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-12
1bb0b8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
1bb0b8
1bb0b8
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.9-11
1bb0b8
- Rebuild for Python 3.6
1bb0b8
1bb0b8
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-10
1bb0b8
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
1bb0b8
1bb0b8
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-9
1bb0b8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
1bb0b8
1bb0b8
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-8
1bb0b8
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
1bb0b8
1bb0b8
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-7
1bb0b8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
1bb0b8
1bb0b8
* Thu Oct 30 2014 Andy Grover <agrover@redhat.com> - 0.9-6
1bb0b8
- Initial Python 3 support
1bb0b8
1bb0b8
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-5
1bb0b8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
1bb0b8
1bb0b8
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-4
1bb0b8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
1bb0b8
1bb0b8
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-3
1bb0b8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
1bb0b8
1bb0b8
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-2
1bb0b8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
1bb0b8
1bb0b8
* Mon Oct 22 2012 Andy Grover <agrover@redhat.com> - 0.9-1
1bb0b8
- Update for new upstream release
1bb0b8
- Add build dep on Cython
1bb0b8
1bb0b8
* Wed Aug 1 2012 Andy Grover <agrover@redhat.com> - 0.1-4
1bb0b8
- Update for new upstream release location
1bb0b8
1bb0b8
* Fri May 4 2012 Andy Grover <agrover@redhat.com> - 0.1-3
1bb0b8
- Update for new upstream release location
1bb0b8
1bb0b8
* Tue Apr 17 2012 Andy Grover <agrover@redhat.com> - 0.1-2
1bb0b8
- Correct License field to LGPLv2+
1bb0b8
- Remove explicit Requires for kmod-libs
1bb0b8
1bb0b8
* Thu Apr 12 2012 Andy Grover <agrover@redhat.com> - 0.1-1
1bb0b8
- Initial packaging