diff --git a/kmod.changes b/kmod.changes deleted file mode 100644 index 4b471c7cc61d27a1ec4b309affdad13288752858..0000000000000000000000000000000000000000 --- a/kmod.changes +++ /dev/null @@ -1,103 +0,0 @@ -%changelog -* Thu Jul 03 2025 Liu Chao - 30-7 -- disable make test because cannot find /lib/modules/`uname -r`/build -- add extramodules to depmod search path - -* Thu Jul 03 2025 Liu Chao - 30-6 -- backport community bugfix patches and enable make check - -* Thu Jul 03 2025 Liu Chao - 30-5 -- remove the obsolete kernel module replace feature - -* Tue May 07 2024 guoqinglan - 30-3 -- Reinitialize libtool to remove Rpath - -* Fri Sep 02 2022 fu.lin - 30-2 -- fit the old patch - -* Tue Jul 26 2022 Qingqing Li - 30-1 -- upgrade to kmod-30 - -* Wed Jun 29 2022 luhuaxin - 29-5 -- support to display sm3 sig_hashalgo - -* Thu Feb 24 2022 Yang Yanchao - 29-4 -- add package python3-kmod. - -* Fri Jan 7 2022 zhouwenpei - 29-3 -- kmod-devel: add requires on kmod-libs - -* Thu Dec 9 2021 Jiangfeng Xiao - 29-2 -- kmod: revert "depmod: Do not unlinkat orig depfile and add fync" - -* Fri Dec 3 2021 zhouwenpei - 29-1 -- update kmod to 29 - -* 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 - Module: suspend the module by rmmod r option - -* Wed Nov 24 2021 Yang Yanchao - 27-7 -- Precisely filters ko files in "/lib/modules/$kernel/extra" - to avoid creating unnecessary symbols. - -* Tue Nov 9 2021 Yang Yanchao - 27-6 -- Sync the weak-modules script from the 20.03-LTS-SP1 -- use -V to sort kernel version in weak-modules - -* Fri Jun 18 2021 hushiyuan - 27-5 -- libkmod-module: check "new_from_name" return value in get_builtin -- libkmod:fix double free for modinfo in modules.buildin.modinfo -- libkmod:fix an overflow with wrong modules.builtin.modinfo -- libkmod-config:fix a memory leak when kmod_list_append failes -- Fix "modinfo -F always shows name for build-ins" - -* Thu Jan 14 2021 xinghe - 27-4 -- fix memory leak in kmodinfo and build warning - -* Fri Sep 04 2020 xinghe - 27-3 -- backport patch to deal with lspci -v error report - -* Fri Aug 21 2020 Wang Shuo - 27-2 -- remove unnecessary message - -* Fri Apr 17 2020 Wang Shuo - 27-1 -- Type:enhancement -- ID:NA -- SUG:NA -- DESC: update kmod to 27 - -* Wed Feb 26 2020 Wang Shuo - 25-6 -- Type:enhancement -- ID:NA -- SUG:NA -- DESC: move libs files to libs package - -* Sat Apr 6 2019 luochunsheng - 25-5 -- Type:enhancement -- ID:NA -- SUG:NA - -* Fri Mar 22 2019 kangenbo - 25-4 -- Type:enhancement -- ID:NA -- SUG:NA -- DESC: backport patches from communities - -* Tue Mar 19 2019 hexiaowen - 25-3 -- Type:enhancement -- ID:NA -- SUG:NA -- DESC: add /etc/depmod.d/dist.conf - -* Fri Jan 25 2019 Xiaoqi Guo - 25-2 -- Type:bugfix -- ID:NA -- SUG:NA -- DESC:add patches, include - bugfix-kmod-20-8-depmod-Don-t-unlinkat-orig-depfile-and-add-fsync.patch - -* Thu Jan 24 2019 openEuler Buildteam - 25-1 -- Package init - diff --git a/kmod.spec b/kmod.spec index be8fb6509c9c157191fefedc6c82ebad579a1e0b..e60f28bc31bfc4f0cd78126ed70f10695fb0156e 100644 --- a/kmod.spec +++ b/kmod.spec @@ -1,6 +1,6 @@ Name: kmod Version: 30 -Release: 7 +Release: 8 Summary: Kernel module management # GPLv2+ is used by programs, LGPLv2+ is used for libraries. License: GPLv2+ and LGPLv2+ @@ -8,9 +8,9 @@ URL: http://git.kernel.org/?p=utils/kernel/kmod/kmod.git;a=summary Source0: https://www.kernel.org/pub/linux/utils/kernel/kmod/%{name}-%{version}.tar.xz Source1: weak-modules Source2: depmod.conf.dist -Source3: kmod.changes BuildRequires: gcc chrpath zlib-devel xz-devel libxslt openssl-devel libtool gtk-doc +BuildRequires: kernel-devel uname-build-checks Provides: module-init-tools = 4.0-1 Provides: /sbin/modprobe @@ -90,6 +90,9 @@ mkdir -p $RPM_BUILD_ROOT/sbin install -m 755 %{SOURCE1} $RPM_BUILD_ROOT%{_sbindir}/weak-modules install -m 0644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/depmod.d/dist.conf +%check +make check + %post -p /sbin/ldconfig %postun -p /sbin/ldconfig @@ -124,4 +127,109 @@ install -m 0644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/depmod.d/dist.conf %doc TODO NEWS README.md -%include %{SOURCE3} +%changelog +* Fri Jul 04 2025 Liu Chao - 30-8 +- enable make check and move changelog to spec to fix ci failure + +* Thu Jul 03 2025 Liu Chao - 30-7 +- disable make test because cannot find /lib/modules/`uname -r`/build +- add extramodules to depmod search path + +* Thu Jul 03 2025 Liu Chao - 30-6 +- backport community bugfix patches and enable make check + +* Thu Jul 03 2025 Liu Chao - 30-5 +- remove the obsolete kernel module replace feature + +* Tue May 07 2024 guoqinglan - 30-3 +- Reinitialize libtool to remove Rpath + +* Fri Sep 02 2022 fu.lin - 30-2 +- fit the old patch + +* Tue Jul 26 2022 Qingqing Li - 30-1 +- upgrade to kmod-30 + +* Wed Jun 29 2022 luhuaxin - 29-5 +- support to display sm3 sig_hashalgo + +* Thu Feb 24 2022 Yang Yanchao - 29-4 +- add package python3-kmod. + +* Fri Jan 7 2022 zhouwenpei - 29-3 +- kmod-devel: add requires on kmod-libs + +* Thu Dec 9 2021 Jiangfeng Xiao - 29-2 +- kmod: revert "depmod: Do not unlinkat orig depfile and add fync" + +* Fri Dec 3 2021 zhouwenpei - 29-1 +- update kmod to 29 + +* 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 + Module: suspend the module by rmmod r option + +* Wed Nov 24 2021 Yang Yanchao - 27-7 +- Precisely filters ko files in "/lib/modules/$kernel/extra" + to avoid creating unnecessary symbols. + +* Tue Nov 9 2021 Yang Yanchao - 27-6 +- Sync the weak-modules script from the 20.03-LTS-SP1 +- use -V to sort kernel version in weak-modules + +* Fri Jun 18 2021 hushiyuan - 27-5 +- libkmod-module: check "new_from_name" return value in get_builtin +- libkmod:fix double free for modinfo in modules.buildin.modinfo +- libkmod:fix an overflow with wrong modules.builtin.modinfo +- libkmod-config:fix a memory leak when kmod_list_append failes +- Fix "modinfo -F always shows name for build-ins" + +* Thu Jan 14 2021 xinghe - 27-4 +- fix memory leak in kmodinfo and build warning + +* Fri Sep 04 2020 xinghe - 27-3 +- backport patch to deal with lspci -v error report + +* Fri Aug 21 2020 Wang Shuo - 27-2 +- remove unnecessary message + +* Fri Apr 17 2020 Wang Shuo - 27-1 +- Type:enhancement +- ID:NA +- SUG:NA +- DESC: update kmod to 27 + +* Wed Feb 26 2020 Wang Shuo - 25-6 +- Type:enhancement +- ID:NA +- SUG:NA +- DESC: move libs files to libs package + +* Sat Apr 6 2019 luochunsheng - 25-5 +- Type:enhancement +- ID:NA +- SUG:NA + +* Fri Mar 22 2019 kangenbo - 25-4 +- Type:enhancement +- ID:NA +- SUG:NA +- DESC: backport patches from communities + +* Tue Mar 19 2019 hexiaowen - 25-3 +- Type:enhancement +- ID:NA +- SUG:NA +- DESC: add /etc/depmod.d/dist.conf + +* Fri Jan 25 2019 Xiaoqi Guo - 25-2 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC:add patches, include + bugfix-kmod-20-8-depmod-Don-t-unlinkat-orig-depfile-and-add-fsync.patch + +* Thu Jan 24 2019 openEuler Buildteam - 25-1 +- Package init +