Compare commits
10 Commits
46b4daa7c0
...
803f94d2dd
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
803f94d2dd | ||
|
|
3288cf3a0f | ||
|
|
06c2d29676 | ||
|
|
63d1048ce7 | ||
|
|
5bc63feb7b | ||
|
|
be78829645 | ||
|
|
9fafa54650 | ||
|
|
b20e95e6a9 | ||
|
|
4c0e0749a4 | ||
|
|
3fee02e0c8 |
Binary file not shown.
@ -1,29 +1,30 @@
|
||||
Name: python-kmod
|
||||
Version: 0.9
|
||||
Release: 21
|
||||
Version: 0.9.2
|
||||
Release: 1
|
||||
Summary: Python module to work with kernel modules
|
||||
License: LGPLv2+
|
||||
URL: https://github.com/agrover/python-kmod/
|
||||
Source0: https://github.com/downloads/agrover/%{name}/%{name}-%{version}.tar.gz
|
||||
BuildRequires: python2-devel python3-devel python2-setuptools python2-Cython python3-Cython python3 kmod-devel python-unversioned-command
|
||||
License: LGPL-2.0-or-later
|
||||
URL: https://github.com/maurizio-lombardi/python-kmod
|
||||
Source0: %{url}/archive/refs/tags/v%{version}.tar.gz
|
||||
|
||||
BuildRequires: gcc
|
||||
BuildRequires: python3-Cython
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python3
|
||||
BuildRequires: kmod-devel
|
||||
|
||||
%global _description\
|
||||
Python bindings for kmod/libkmod. \
|
||||
kmod is a set of tools to handle common tasks with Linux kernel modules like insert, remove, list, check properties, resolve dependencies and aliases.\
|
||||
python-kmod is a Python wrapper module for libkmod, exposing common module operations: listing installed modules, modprobe, and rmmod.
|
||||
Python module to allow listing, loading, and unloading\
|
||||
Linux Kernel modules, using libkmod.
|
||||
|
||||
%description %_description
|
||||
|
||||
%package -n python2-kmod
|
||||
Summary: Python module to work with kernel modules
|
||||
%{?python_provide:%python_provide python2-kmod}
|
||||
|
||||
%description -n python2-kmod %_description
|
||||
|
||||
%package -n python3-kmod
|
||||
Summary: Python module to work with kernel modules
|
||||
|
||||
%description -n python3-kmod %_description
|
||||
%description -n python3-kmod
|
||||
Python module to allow listing, loading, and unloading
|
||||
Linux Kernel modules, using libkmod.
|
||||
|
||||
%package_help
|
||||
|
||||
@ -31,26 +32,43 @@ Summary: Python module to work with kernel modules
|
||||
%autosetup
|
||||
|
||||
%build
|
||||
%{__python} setup.py build
|
||||
%{__python3} setup.py build
|
||||
%py3_build
|
||||
|
||||
%install
|
||||
%{__python} setup.py install --skip-build --root %{buildroot}
|
||||
%{__python3} setup.py install --skip-build --root %{buildroot}
|
||||
|
||||
%files -n python2-kmod
|
||||
%{python_sitearch}/kmod/
|
||||
%{python_sitearch}/*.egg-info
|
||||
%doc COPYING.LESSER
|
||||
%py3_install
|
||||
|
||||
%files -n python3-kmod
|
||||
%{python3_sitearch}/kmod/
|
||||
%{python3_sitearch}/*.egg-info
|
||||
%doc COPYING.LESSER
|
||||
%license COPYING.LESSER
|
||||
|
||||
%files help
|
||||
%doc README
|
||||
|
||||
%changelog
|
||||
* Tue Feb 20 2024 liweigang <izmirvii@gmail.com> - 0.9.2-1
|
||||
- update to version 0.9.2
|
||||
|
||||
* Wed Jun 23 2021 shangyibin <shangyibin1@huawei.com> - 0.9.1-4
|
||||
- Type:bufix
|
||||
- CVE:NA
|
||||
- SUG:NA
|
||||
- DESC:add kmod-libs,perl,and gcc BuildRequires
|
||||
|
||||
* Tue Mar 23 2021 shixuantong <shixuantong@huawei.com> - 0.9.1-3
|
||||
- Type:bufix
|
||||
- CVE:NA
|
||||
- SUG:NA
|
||||
- DESC:add debuginf and debugsource
|
||||
|
||||
* Fri Oct 30 2020 wuchaochao <wuchaochao4@huawei.com> - 0.9.1-2
|
||||
- Type:bufix
|
||||
- CVE:NA
|
||||
- SUG:NA
|
||||
- DESC:remove python2
|
||||
|
||||
* Thu Jul 30 2020 tianwei <tianwei12@huawei.com> - 0.9.1-1
|
||||
- Package update to release 0.9.1
|
||||
|
||||
* Mon Sep 16 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.9-21
|
||||
- Package init
|
||||
|
||||
BIN
v0.9.2.tar.gz
Normal file
BIN
v0.9.2.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user