From e90f8f8ec6d40900e0756803ccf6bd0d91811cdd Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Tue, 22 Jan 2019 18:39:07 +0100 Subject: [PATCH] Remove obsolete ldconfig scriptlets References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko --- gmp.spec | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) 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}