From 81cf3427f6448d91501468bbd09e9a9e6cddef20 Mon Sep 17 00:00:00 2001 From: Tomas Popela Date: Fri, 25 May 2018 09:27:17 +0200 Subject: [PATCH] Move to ldconfig_scriptlets --- libdbusmenu.spec | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/libdbusmenu.spec b/libdbusmenu.spec index e91b5b6..4848528 100644 --- a/libdbusmenu.spec +++ b/libdbusmenu.spec @@ -182,15 +182,10 @@ for variant in %{name}-gtk3-%{version} %{name}-%{version}; do done %endif -%post -p /sbin/ldconfig -%post gtk2 -p /sbin/ldconfig -%post gtk3 -p /sbin/ldconfig -%post jsonloader -p /sbin/ldconfig - -%postun -p /sbin/ldconfig -%postun gtk2 -p /sbin/ldconfig -%postun gtk3 -p /sbin/ldconfig -%postun jsonloader -p /sbin/ldconfig +%ldconfig_scriptlets +%ldconfig_scriptlets gtk2 +%ldconfig_scriptlets gtk3 +%ldconfig_scriptlets jsonloader %files %license COPYING COPYING.2.1 COPYING-GPL3