From dcebc00f88183a01e11a7a6dc0d53cb76b237f6f Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Dec 07 2021 18:59:55 +0000 Subject: import kmod-28-7.el9 --- diff --git a/SOURCES/depmod.conf.dist b/SOURCES/depmod.conf.dist new file mode 100644 index 0000000..8513288 --- /dev/null +++ b/SOURCES/depmod.conf.dist @@ -0,0 +1,6 @@ +# +# depmod.conf +# + +# override default search ordering for kmod packaging +search updates extra built-in weak-updates diff --git a/SPECS/kmod.spec b/SPECS/kmod.spec index 353db21..a8b902b 100644 --- a/SPECS/kmod.spec +++ b/SPECS/kmod.spec @@ -1,12 +1,13 @@ Name: kmod Version: 28 -Release: 5%{?dist} +Release: 7%{?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.xz Source1: weak-modules +Source2: depmod.conf.dist Exclusiveos: Linux BuildRequires: gcc @@ -78,6 +79,7 @@ mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/depmod.d mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib/modprobe.d install -pm 755 %{SOURCE1} $RPM_BUILD_ROOT%{_sbindir}/weak-modules +install -m 0644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/depmod.d/dist.conf %files %dir %{_sysconfdir}/depmod.d @@ -92,6 +94,7 @@ install -pm 755 %{SOURCE1} $RPM_BUILD_ROOT%{_sbindir}/weak-modules %{_sbindir}/depmod %{_sbindir}/weak-modules %{_datadir}/bash-completion/ +%{_sysconfdir}/depmod.d/dist.conf %attr(0644,root,root) %{_mandir}/man5/*.5* %attr(0644,root,root) %{_mandir}/man8/*.8* %doc NEWS README TODO @@ -106,6 +109,13 @@ install -pm 755 %{SOURCE1} $RPM_BUILD_ROOT%{_sbindir}/weak-modules %{_libdir}/libkmod.so %changelog +* Thu Oct 21 2021 Yauheni Kaliuta - 28-7 +- Add RHEL gating configuration. Related: rhbz#1985100 + +* Tue Aug 10 2021 Yauheni Kaliuta - 28-6 +- add default config. + Resolves: rhbz#1985100 + * Mon Aug 09 2021 Mohan Boddu - 28-5 - Rebuilt for IMA sigs, glibc 2.34, aarch64 flags Related: rhbz#1991688