Compare commits
10 Commits
f78aaff8e9
...
06c2d29676
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
06c2d29676 | ||
|
|
63d1048ce7 | ||
|
|
5bc63feb7b | ||
|
|
be78829645 | ||
|
|
9fafa54650 | ||
|
|
b20e95e6a9 | ||
|
|
4c0e0749a4 | ||
|
|
3fee02e0c8 | ||
|
|
46b4daa7c0 | ||
|
|
3d52977615 |
BIN
kmod-0.9.1.tar.gz
Normal file
BIN
kmod-0.9.1.tar.gz
Normal file
Binary file not shown.
Binary file not shown.
@ -1,11 +1,12 @@
|
|||||||
Name: python-kmod
|
Name: python-kmod
|
||||||
Version: 0.9
|
Version: 0.9.1
|
||||||
Release: 21
|
Release: 4
|
||||||
Summary: Python module to work with kernel modules
|
Summary: Python module to work with kernel modules
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
URL: https://github.com/agrover/python-kmod/
|
URL: https://github.com/agrover/python-kmod/
|
||||||
Source0: https://github.com/downloads/agrover/%{name}/%{name}-%{version}.tar.gz
|
Source0: https://files.pythonhosted.org/packages/source/k/kmod/kmod-%{version}.tar.gz
|
||||||
BuildRequires: python2-devel python3-devel python2-setuptools python2-Cython python3-Cython python3 kmod-devel python-unversioned-command
|
BuildRequires: python3-devel python3-Cython python3 kmod-devel python3-unversioned-command
|
||||||
|
BuildRequires: kmod-libs perl gcc
|
||||||
|
|
||||||
%global _description\
|
%global _description\
|
||||||
Python bindings for kmod/libkmod. \
|
Python bindings for kmod/libkmod. \
|
||||||
@ -14,12 +15,6 @@ python-kmod is a Python wrapper module for libkmod, exposing common module opera
|
|||||||
|
|
||||||
%description %_description
|
%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
|
%package -n python3-kmod
|
||||||
Summary: Python module to work with kernel modules
|
Summary: Python module to work with kernel modules
|
||||||
|
|
||||||
@ -28,20 +23,13 @@ Summary: Python module to work with kernel modules
|
|||||||
%package_help
|
%package_help
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup
|
%autosetup -n kmod-%{version} -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__python} setup.py build
|
%py3_build
|
||||||
%{__python3} setup.py build
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%{__python} setup.py install --skip-build --root %{buildroot}
|
%py3_install
|
||||||
%{__python3} setup.py install --skip-build --root %{buildroot}
|
|
||||||
|
|
||||||
%files -n python2-kmod
|
|
||||||
%{python_sitearch}/kmod/
|
|
||||||
%{python_sitearch}/*.egg-info
|
|
||||||
%doc COPYING.LESSER
|
|
||||||
|
|
||||||
%files -n python3-kmod
|
%files -n python3-kmod
|
||||||
%{python3_sitearch}/kmod/
|
%{python3_sitearch}/kmod/
|
||||||
@ -52,5 +40,26 @@ Summary: Python module to work with kernel modules
|
|||||||
%doc README
|
%doc README
|
||||||
|
|
||||||
%changelog
|
%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
|
* Mon Sep 16 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.9-21
|
||||||
- Package init
|
- Package init
|
||||||
|
|||||||
4
python-kmod.yaml
Normal file
4
python-kmod.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
version_control: github
|
||||||
|
src_repo: agrover/python-kmod
|
||||||
|
tag_prefix: ^v
|
||||||
|
seperator: .
|
||||||
Loading…
x
Reference in New Issue
Block a user