import UBI python-kmod-0.9.2-6.el10
This commit is contained in:
parent
c51ae62829
commit
29cdb4b479
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
|||||||
SOURCES/python-kmod-0.9.tar.gz
|
python-kmod-0.9.2.tar.gz
|
||||||
|
@ -1 +0,0 @@
|
|||||||
5a4513210915c4908569f2363bcfddac5212fa37 SOURCES/python-kmod-0.9.tar.gz
|
|
@ -1,57 +1,25 @@
|
|||||||
%if 0%{?rhel} > 7
|
|
||||||
# Disable python2 build by default
|
|
||||||
%bcond_with python2
|
|
||||||
%else
|
|
||||||
%bcond_without python2
|
|
||||||
%endif
|
|
||||||
|
|
||||||
Name: python-kmod
|
Name: python-kmod
|
||||||
License: LGPLv2+
|
License: LGPL-2.0-or-later
|
||||||
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.2
|
||||||
Release: 20%{?dist}
|
Release: 6%{?dist}
|
||||||
URL: https://github.com/agrover/python-kmod/
|
URL: https://github.com/maurizio-lombardi/python-kmod/
|
||||||
Source0: https://github.com/downloads/agrover/%{name}/%{name}-%{version}.tar.gz
|
Source0: https://github.com/downloads/maurizio-lombardi/%{name}/%{name}-%{version}.tar.gz
|
||||||
|
BuildRequires: gcc
|
||||||
|
BuildRequires: python3-Cython
|
||||||
%if %{with python2}
|
|
||||||
BuildRequires: python2-devel
|
|
||||||
BuildRequires: python2-setuptools
|
|
||||||
BuildRequires: python2-Cython
|
|
||||||
%endif # with python2
|
|
||||||
|
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-setuptools
|
BuildRequires: python3-setuptools
|
||||||
BuildRequires: python3-Cython
|
BuildRequires: python3
|
||||||
|
|
||||||
BuildRequires: kmod-devel
|
BuildRequires: kmod-devel
|
||||||
|
|
||||||
%if %{with python2}
|
|
||||||
%{?filter_setup:
|
|
||||||
%filter_provides_in %{python2_sitearch}.*\.so$
|
|
||||||
%filter_setup
|
|
||||||
}
|
|
||||||
%endif # with python2
|
|
||||||
|
|
||||||
%global _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
|
%description %_description
|
||||||
|
|
||||||
%if %{with python2}
|
|
||||||
%package -n python2-kmod
|
|
||||||
Summary: %summary
|
|
||||||
%{?python_provide:%python_provide python2-kmod}
|
|
||||||
|
|
||||||
%description -n python2-kmod %_description
|
|
||||||
%endif # with python2
|
|
||||||
|
|
||||||
%package -n python3-kmod
|
%package -n python3-kmod
|
||||||
Group: Development/Libraries
|
|
||||||
Summary: Python module to work with kernel modules
|
Summary: Python module to work with kernel modules
|
||||||
%{?python_provide:%python_provide python3-kmod}
|
|
||||||
|
|
||||||
%description -n python3-kmod
|
%description -n python3-kmod
|
||||||
Python module to allow listing, loading, and unloading
|
Python module to allow listing, loading, and unloading
|
||||||
@ -61,34 +29,96 @@ Linux kernel modules, using libkmod.
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%if %{with python2}
|
|
||||||
%py2_build
|
|
||||||
%endif # with python2
|
|
||||||
%py3_build
|
%py3_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%if %{with python2}
|
|
||||||
%py2_install
|
|
||||||
%endif # with python2
|
|
||||||
%py3_install
|
%py3_install
|
||||||
|
|
||||||
%if %{with python2}
|
|
||||||
%files -n python2-kmod
|
|
||||||
%{python2_sitearch}/kmod/
|
|
||||||
%{python2_sitearch}/kmod*.egg-info
|
|
||||||
%doc README
|
|
||||||
%license COPYING.LESSER
|
|
||||||
%endif # with python2
|
|
||||||
|
|
||||||
%files -n python3-kmod
|
%files -n python3-kmod
|
||||||
%{python3_sitearch}/kmod/
|
%{python3_sitearch}/kmod/
|
||||||
%{python3_sitearch}/kmod*.egg-info
|
%{python3_sitearch}/kmod*.egg-info
|
||||||
%doc README
|
%doc COPYING.LESSER README
|
||||||
%license COPYING.LESSER
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Fri Jun 08 2018 Charalampos Stratakis <cstratak@redhat.com> - 0.9-20
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 0.9.2-6
|
||||||
- Conditionalize the python2 subpackage
|
- Bump release for October 2024 mass rebuild:
|
||||||
|
Resolves: RHEL-64018
|
||||||
|
|
||||||
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 0.9.2-5
|
||||||
|
- Bump release for June 2024 mass rebuild
|
||||||
|
|
||||||
|
* Mon Feb 12 2024 Maurizio Lombardi <mlombard@redhat.com> - 0.9.2-4
|
||||||
|
- migrated to SPDX license
|
||||||
|
|
||||||
|
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.2-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.2-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Aug 01 2023 Maurizio Lombardi - 0.9.2-1
|
||||||
|
- Release a new version and take over maintainership upstream
|
||||||
|
|
||||||
|
* Mon Jul 24 2023 Maurizio Lombardi - 0.9-39
|
||||||
|
- Build for Cython < 3
|
||||||
|
|
||||||
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-38
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 0.9-37
|
||||||
|
- Rebuilt for Python 3.12
|
||||||
|
|
||||||
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-36
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-35
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.9-34
|
||||||
|
- Rebuilt for Python 3.11
|
||||||
|
|
||||||
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-33
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-32
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.9-31
|
||||||
|
- Rebuilt for Python 3.10
|
||||||
|
|
||||||
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-30
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-29
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.9-28
|
||||||
|
- Rebuilt for Python 3.9
|
||||||
|
|
||||||
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-27
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.9-26
|
||||||
|
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
||||||
|
|
||||||
|
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.9-25
|
||||||
|
- Rebuilt for Python 3.8
|
||||||
|
|
||||||
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-24
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-23
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Dec 27 2018 Miro Hrončok <mhroncok@redhat.com> - 0.9-22
|
||||||
|
- Subpackage python2-kmod has been removed
|
||||||
|
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
||||||
|
|
||||||
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-21
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.9-20
|
||||||
|
- Rebuilt for Python 3.7
|
||||||
|
|
||||||
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-19
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-19
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
Loading…
Reference in New Issue
Block a user