diff --git a/kmod-29.tar.gz b/kmod-29.tar.gz deleted file mode 100644 index 7103b84dbd92d7cc88d95619e794666bf466d8eb..0000000000000000000000000000000000000000 Binary files a/kmod-29.tar.gz and /dev/null differ diff --git a/kmod-30.tar.xz b/kmod-30.tar.xz new file mode 100644 index 0000000000000000000000000000000000000000..9a7932aa1e651c69f6913da502166671de454cdf Binary files /dev/null and b/kmod-30.tar.xz differ diff --git a/kmod.spec b/kmod.spec index f208122190eb564b85d5f9a07716f1b2bbce00d8..19bbcd1c6b9a8958bbc45da7a62fc3c489a5fb50 100644 --- a/kmod.spec +++ b/kmod.spec @@ -3,13 +3,13 @@ %bcond_with dist_conf Name: kmod -Version: 29 +Version: 30 Release: %{anolis_release}%{?dist} Summary: Linux kernel module management utilities License: GPLv2+ URL: https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git -Source0: https://www.kernel.org/pub/linux/utils/kernel/kmod/%{name}-%{version}.tar.gz +Source0: https://www.kernel.org/pub/linux/utils/kernel/kmod/%{name}-%{version}.tar.xz Source1: weak-modules Source2: depmod.conf.dist Exclusiveos: Linux @@ -25,8 +25,8 @@ BuildRequires: libzstd-devel BuildRequires: gtk-doc BuildRequires: libtool -Provides: module-init-tools = 4.0-1 -Obsoletes: module-init-tools < 4.0-1 +Provides: module-init-tools = 4.0 +Obsoletes: module-init-tools < 4.0 Provides: /sbin/modprobe %description @@ -35,6 +35,14 @@ loading and unloading of modules under 2.6, 3.x, and later kernels, as well as other module management programs. Device drivers and filesystems are two examples of loaded and unloaded modules. +%package doc +Summary: Documentation files for %{name} +Requires: %{name} = %{version}-%{release} +BuildArch: noarch + +%description doc +The %{name}-doc package contains documentation files for %{name}. + %package libs Summary: Libraries to handle kernel module loading and unloading License: LGPLv2+ @@ -45,17 +53,16 @@ wishes to load or unload Linux kernel modules from the running system. %package devel Summary: Header files for kmod development -Requires: %{name}-libs%{?_isa} = %{version}-%{release} +Requires: %{name}-libs = %{version}-%{release} %description devel The kmod-devel package provides header files used for development of applications that wish to load or unload Linux kernel modules. %prep -%autosetup -ph +%autosetup -p1 %build -./autogen.sh %configure \ --with-openssl \ @@ -115,7 +122,9 @@ install -m 0644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/depmod.d/dist.conf %endif %attr(0644,root,root) %{_mandir}/man5/*.5* %attr(0644,root,root) %{_mandir}/man8/*.8* -%doc NEWS README TODO + +%files doc +%doc NEWS README.md TODO %files libs %license COPYING @@ -127,5 +136,8 @@ install -m 0644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/depmod.d/dist.conf %{_libdir}/libkmod.so %changelog +* Mon Sep 26 2022 mgb01105731 - 30-1 +- update to 30 + * Thu Mar 10 2022 zhang xianting - 29-1 - Initial build for Anolis V23