diff --git a/macros.ldconfig b/macros.ldconfig index 856b974..f3eb431 100644 --- a/macros.ldconfig +++ b/macros.ldconfig @@ -1,6 +1,8 @@ #%ldconfig /sbin/ldconfig -%ldconfig_post %{?ldconfig:%post -p %ldconfig} -%ldconfig_postun %{?ldconfig:%postun -p %ldconfig} +%ldconfig_post %{?ldconfig:%post -p %ldconfig\ +%end} +%ldconfig_postun %{?ldconfig:%postun -p %ldconfig\ +%end} %ldconfig_scriptlets(n:) %{?ldconfig:\ %ldconfig_post %{?*} %{-n:-n %{-n*}}\ %ldconfig_postun %{?*} %{-n:-n %{-n*}}\ diff --git a/redhat-rpm-config.spec b/redhat-rpm-config.spec index ef9161c..e9e1deb 100644 --- a/redhat-rpm-config.spec +++ b/redhat-rpm-config.spec @@ -6,7 +6,7 @@ Summary: Red Hat specific rpm configuration files Name: redhat-rpm-config -Version: 97 +Version: 98 Release: 1%{?dist} # No version specified. License: GPL+ @@ -183,6 +183,9 @@ install -p -m 755 -t %{buildroot}%{_rpmconfigdir} kmod.prov %{_rpmconfigdir}/macros.d/macros.kmp %changelog +* Sat Feb 17 2018 Igor Gnatenko - 98-1 +- Explicitly close scriptlets with %%end (ldconfig) + * Wed Feb 14 2018 Miro HronĨok - 97-1 - Allow to opt-out from shebang mangling for specific paths/shebangs