From 48d5fc81bcedffa5b456236f7b9449b40d23d903 Mon Sep 17 00:00:00 2001 From: Jerry James Date: Wed, 6 Jun 2018 18:44:42 -0600 Subject: [PATCH] Use %ldconfig_scriptlets. --- check.spec | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/check.spec b/check.spec index def005e..431c5e0 100644 --- a/check.spec +++ b/check.spec @@ -95,20 +95,19 @@ rm -rf checkmk/test/check_checkmk* rm -rf checkmk/test/empty_input %post -/sbin/ldconfig if [ -e %{_infodir}/%{name}.info* ]; then /sbin/install-info \ --entry='* Check: (check). A unit testing framework for C.' \ %{_infodir}/%{name}.info %{_infodir}/dir || : fi -%postun -p /sbin/ldconfig - %preun if [ $1 = 0 -a -e %{_infodir}/%{name}.info* ]; then /sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || : fi +%ldconfig_scriptlets + %files %doc AUTHORS ChangeLog %license COPYING.LESSER