diff --git a/SOURCES/macros.kmp b/SOURCES/macros.kmp index eae0bda..a765547 100644 --- a/SOURCES/macros.kmp +++ b/SOURCES/macros.kmp @@ -2,6 +2,8 @@ %global redhat_kernel_module_package 1 %global kernel_module_package_release 1 +%global redhat_kmp_has_post_hooks 1 + %__brp_kmod_set_exec_bit /usr/lib/rpm/redhat/brp-kmod-set-exec-bit %__brp_kmod_restore_perms /usr/lib/rpm/redhat/brp-kmod-restore-perms @@ -48,6 +50,11 @@ echo " %%%%{?__debug_package:%%%%{__debug_install_post}} \\\\" \ echo " %%{__arch_install_post} \\\\" \ echo " %%{__os_install_post} \\\\" \ + echo " %%{?__brp_kmod_pre_sign_process} \\\\" \ + echo " %%{?__brp_kmod_sign} \\\\" \ + echo " %%{?__brp_kmod_post_sign_process} \\\\" \ + echo " %%{?__brp_kmod_compress} \\\\" \ + echo " %%{?__brp_kmod_post_compress_process} \\\\" \ echo " %%{?__brp_kmod_restore_perms} \\\\" \ echo "%%{nil}" \ fi \ diff --git a/SPECS/redhat-rpm-config.spec b/SPECS/redhat-rpm-config.spec index cee1529..2a8f63d 100644 --- a/SPECS/redhat-rpm-config.spec +++ b/SPECS/redhat-rpm-config.spec @@ -6,7 +6,7 @@ Summary: Red Hat specific rpm configuration files Name: redhat-rpm-config -Version: 119 +Version: 121 Release: 1%{?dist} # No version specified. License: GPL+ @@ -147,7 +147,7 @@ install -p -m 755 -t %{buildroot}%{rrcdir} brp-* install -p -m 755 -t %{buildroot}%{rrcdir} find-* mkdir -p %{buildroot}%{rrcdir}/find-provides.d -install -p -m 644 -t %{buildroot}%{rrcdir}/find-provides.d firmware.prov modalias.prov +install -p -m 755 -t %{buildroot}%{rrcdir}/find-provides.d firmware.prov modalias.prov install -p -m 755 -t %{buildroot}%{rrcdir} brp-* @@ -198,6 +198,12 @@ install -p -m 755 %{SOURCE21} %{buildroot}%{_rpmconfigdir}/kabi.sh %{_rpmconfigdir}/macros.d/macros.kmp %changelog +* Tue Nov 26 2019 Eugene Syromiatnikov - 121-1 +- macros.kmp: add post-install hooks for kmod processing (#1664478, #1673200) + +* Thu Jul 04 2019 Florian Festi - 120-1 +- Fix permission for various build scripts (#1719363) + * Tue Jun 04 2019 Florian Festi - 119-1 - Remove -eu param from shell scripts (#1686413)