diff --git a/kmod-0.9.1.tar.gz b/kmod-0.9.1.tar.gz deleted file mode 100644 index 3c179c0..0000000 Binary files a/kmod-0.9.1.tar.gz and /dev/null differ diff --git a/python-kmod.spec b/python-kmod.spec index d171273..08410c2 100644 --- a/python-kmod.spec +++ b/python-kmod.spec @@ -1,29 +1,35 @@ Name: python-kmod -Version: 0.9.1 -Release: 4 +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://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 +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 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 %prep -%autosetup -n kmod-%{version} -p1 +%autosetup %build %py3_build @@ -34,12 +40,15 @@ Summary: Python module to work with kernel modules %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 - 0.9.2-1 +- update to version 0.9.2 + * Wed Jun 23 2021 shangyibin - 0.9.1-4 - Type:bufix - CVE:NA diff --git a/v0.9.2.tar.gz b/v0.9.2.tar.gz new file mode 100644 index 0000000..58ffbdf Binary files /dev/null and b/v0.9.2.tar.gz differ