Remove obsolete ldconfig scriptlets
References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
28dd6fc23e
commit
eea0187a48
@ -14,7 +14,6 @@ Source3: ipmiseld.service
|
|||||||
BuildRequires: libgcrypt-devel texinfo systemd
|
BuildRequires: libgcrypt-devel texinfo systemd
|
||||||
%{?systemd_requires}
|
%{?systemd_requires}
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
Requires(post): /sbin/ldconfig
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The FreeIPMI project provides "Remote-Console" (out-of-band) and
|
The FreeIPMI project provides "Remote-Console" (out-of-band) and
|
||||||
@ -75,17 +74,6 @@ install -pm644 %SOURCE1 %SOURCE2 %SOURCE3 %{buildroot}%{_unitdir}/
|
|||||||
# Remove initscripts
|
# Remove initscripts
|
||||||
rm -frv %{buildroot}%{_initrddir} %{buildroot}%{_sysconfdir}/init.d
|
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
|
%post bmc-watchdog
|
||||||
%systemd_post bmc-watchdog.service
|
%systemd_post bmc-watchdog.service
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user