diff --git a/kmod.spec b/kmod.spec index 6a7b883965558dfa3cb1eedb14555c30e6b06de6..339f42e51ab54cbc5461d78f8fc755bb36cce650 100644 --- a/kmod.spec +++ b/kmod.spec @@ -1,6 +1,6 @@ Name: kmod Version: 27 -Release: 8 +Release: 9 Summary: Kernel module management # GPLv2+ is used by programs, LGPLv2+ is used for libraries. License: GPLv2+ and LGPLv2+ @@ -26,7 +26,7 @@ Patch9001: Module-replace-the-module-with-new-module.patch Patch9002: Module-suspend-the-module-by-rmmod-r-option.patch Patch9003: don-t-check-module-s-refcnt-when-rmmod-with-r.patch -BuildRequires: gcc chrpath zlib-devel xz-devel libxslt openssl-devel +BuildRequires: gcc chrpath zlib-devel xz-devel libxslt openssl-devel kernel-devel Provides: module-init-tools = 4.0-1 Provides: /sbin/modprobe @@ -66,6 +66,9 @@ developers to understand the kmod. %configure --with-openssl --with-zlib --with-xz %make_build +%check +make check + %install %make_install pushd $RPM_BUILD_ROOT/%{_mandir}/man5 @@ -119,6 +122,9 @@ install -m 0644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/depmod.d/dist.conf %doc TODO NEWS README %changelog +* Tue Nov 30 2021 Jiangfeng Xiao - 27-9 +- enable %check option + * Mon Nov 29 2021 Yang Yanchao - 27-8 - kmod: don't check module's refcnt when rmmod with -r Module: replace the module with new module