diff --git a/gmp.spec b/gmp.spec index aa05c8e..237d4fc 100644 --- a/gmp.spec +++ b/gmp.spec @@ -134,13 +134,9 @@ export LD_LIBRARY_PATH=`pwd`/.libs make %{?_smp_mflags} check %endif -%post -p /sbin/ldconfig +%ldconfig_scriptlets -%postun -p /sbin/ldconfig - -%post c++ -p /sbin/ldconfig - -%postun c++ -p /sbin/ldconfig +%ldconfig_scriptlets c++ %files %{!?_licensedir:%global license %%doc}