From a6a8c31376c08159a3f1139b94b1b8ff870b21f1 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Tue, 22 Jan 2019 18:40:55 +0100 Subject: [PATCH] Remove obsolete ldconfig scriptlets References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko --- scotch.spec | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/scotch.spec b/scotch.spec index 276c0ca..471b081 100644 --- a/scotch.spec +++ b/scotch.spec @@ -206,17 +206,11 @@ popd ############################################################################### -%post -p /sbin/ldconfig +%ldconfig_scriptlets -%postun -p /sbin/ldconfig +%ldconfig_scriptlets -n ptscotch-mpich -%post -n ptscotch-mpich -p /sbin/ldconfig - -%postun -n ptscotch-mpich -p /sbin/ldconfig - -%post -n ptscotch-openmpi -p /sbin/ldconfig - -%postun -n ptscotch-openmpi -p /sbin/ldconfig +%ldconfig_scriptlets -n ptscotch-openmpi %{!?_licensedir:%global license %%doc}