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