Compare commits
No commits in common. "06c2d296761b862584d3ef1ce89c5ea419aab208" and "f78aaff8e924402535d80487a088c6e0bf3104b7" have entirely different histories.
06c2d29676
...
f78aaff8e9
Binary file not shown.
BIN
python-kmod-0.9.tar.gz
Normal file
BIN
python-kmod-0.9.tar.gz
Normal file
Binary file not shown.
@ -1,12 +1,11 @@
|
||||
Name: python-kmod
|
||||
Version: 0.9.1
|
||||
Release: 4
|
||||
Version: 0.9
|
||||
Release: 21
|
||||
Summary: Python module to work with kernel modules
|
||||
License: LGPLv2+
|
||||
URL: https://github.com/agrover/python-kmod/
|
||||
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
|
||||
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
|
||||
|
||||
%global _description\
|
||||
Python bindings for kmod/libkmod. \
|
||||
@ -15,6 +14,12 @@ 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
|
||||
|
||||
@ -23,13 +28,20 @@ Summary: Python module to work with kernel modules
|
||||
%package_help
|
||||
|
||||
%prep
|
||||
%autosetup -n kmod-%{version} -p1
|
||||
%autosetup
|
||||
|
||||
%build
|
||||
%py3_build
|
||||
%{__python} setup.py build
|
||||
%{__python3} setup.py build
|
||||
|
||||
%install
|
||||
%py3_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
|
||||
|
||||
%files -n python3-kmod
|
||||
%{python3_sitearch}/kmod/
|
||||
@ -40,26 +52,5 @@ 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
|
||||
|
||||
@ -1,4 +0,0 @@
|
||||
version_control: github
|
||||
src_repo: agrover/python-kmod
|
||||
tag_prefix: ^v
|
||||
seperator: .
|
||||
Loading…
x
Reference in New Issue
Block a user