Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
803f94d2dd
!11 update to version 0.9.2
From: @Venland 
Reviewed-by: @dillon_chen 
Signed-off-by: @dillon_chen
2024-02-27 02:14:49 +00:00
liweigang
3288cf3a0f update to version 0.9.2
Signed-off-by: liweigang <liweiganga@uniontech.com>
2024-02-20 16:39:46 +08:00
openeuler-ci-bot
06c2d29676 !9 add kmod-libs,perl and gcc BuildRequires
From: @s17723959267
Reviewed-by: @overweight
Signed-off-by: @overweight
2021-06-24 02:56:04 +00:00
yangl777
63d1048ce7 add kmod-libs,perl,and gcc BuildRequires 2021-06-23 15:05:07 +08:00
openeuler-ci-bot
5bc63feb7b !8 add debuginf and debugsource
From: @tong_1001
Reviewed-by: @overweight
Signed-off-by: @overweight
2021-03-23 16:28:09 +08:00
tong_1001
be78829645 add debuginf and debugsource 2021-03-23 15:45:47 +08:00
openeuler-ci-bot
9fafa54650 !5 remove python2
From: @wcc_140409
Reviewed-by: @overweight
Signed-off-by: @overweight
2020-10-30 16:29:57 +08:00
19909236985
b20e95e6a9 remove python2 2020-10-30 14:36:16 +08:00
openeuler-ci-bot
4c0e0749a4 !2 update release to 0.9.1
Merge pull request !2 from tianwei/master
2020-07-30 14:21:27 +08:00
jinzhimin369
3fee02e0c8 update to 0.9.1 2020-07-30 11:21:12 +08:00
3 changed files with 44 additions and 26 deletions

Binary file not shown.

View File

@ -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

Binary file not shown.