From eea0187a48545a668ba01a79b3606a7ec23bd93e Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Tue, 22 Jan 2019 18:38:58 +0100 Subject: [PATCH] Remove obsolete ldconfig scriptlets References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko --- freeipmi.spec | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/freeipmi.spec b/freeipmi.spec index 5eeae94..669e733 100644 --- a/freeipmi.spec +++ b/freeipmi.spec @@ -14,7 +14,6 @@ Source3: ipmiseld.service BuildRequires: libgcrypt-devel texinfo systemd %{?systemd_requires} BuildRequires: gcc -Requires(post): /sbin/ldconfig %description The FreeIPMI project provides "Remote-Console" (out-of-band) and @@ -75,17 +74,6 @@ install -pm644 %SOURCE1 %SOURCE2 %SOURCE3 %{buildroot}%{_unitdir}/ # Remove initscripts rm -frv %{buildroot}%{_initrddir} %{buildroot}%{_sysconfdir}/init.d -%post -/sbin/install-info %{_infodir}/freeipmi-faq.info.gz %{_infodir}/dir &>/dev/null || : -/sbin/ldconfig - -%preun -if [ $1 = 0 ]; then - /sbin/install-info --delete %{_infodir}/freeipmi-faq.info.gz %{_infodir}/dir &>/dev/null || : -fi - -%ldconfig_postun - %post bmc-watchdog %systemd_post bmc-watchdog.service