Compare commits

...

10 Commits

Author SHA1 Message Date
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
openeuler-ci-bot
46b4daa7c0 !1 add yaml file in package
Merge pull request !1 from Markeryang/master
2020-06-28 16:54:17 +08:00
Markeryang
3d52977615 add python-kmod.yaml. 2020-06-12 21:17:46 +08:00
4 changed files with 33 additions and 20 deletions

BIN
kmod-0.9.1.tar.gz Normal file

Binary file not shown.

Binary file not shown.

View File

@ -1,11 +1,12 @@
Name: python-kmod
Version: 0.9
Release: 21
Version: 0.9.1
Release: 4
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
Source0: https://files.pythonhosted.org/packages/source/k/kmod/kmod-%{version}.tar.gz
BuildRequires: python3-devel python3-Cython python3 kmod-devel python3-unversioned-command
BuildRequires: kmod-libs perl gcc
%global _description\
Python bindings for kmod/libkmod. \
@ -14,12 +15,6 @@ python-kmod is a Python wrapper module for libkmod, exposing common module opera
%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
@ -28,20 +23,13 @@ Summary: Python module to work with kernel modules
%package_help
%prep
%autosetup
%autosetup -n kmod-%{version} -p1
%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/
@ -52,5 +40,26 @@ Summary: Python module to work with kernel modules
%doc README
%changelog
* 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

4
python-kmod.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: github
src_repo: agrover/python-kmod
tag_prefix: ^v
seperator: .