From e75cd96800d1fcffc77d2ca125db90e9ba693475 Mon Sep 17 00:00:00 2001 From: Jerry James Date: May 31 2018 02:18:54 +0000 Subject: Use %ldconfig_scriptlets. --- diff --git a/mpir.spec b/mpir.spec index 5327e1d..1442127 100644 --- a/mpir.spec +++ b/mpir.spec @@ -71,9 +71,7 @@ mv doc/devel doc/html export LD_LIBRARY_PATH=$PWD/.libs make check -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig +%ldconfig_scriptlets %post devel /sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || :