From 79213e7907ab8ccbcabd89744e147df2d5b2cbbe Mon Sep 17 00:00:00 2001 From: Tomas Popela Date: Fri, 25 May 2018 09:38:34 +0200 Subject: [PATCH] Move to ldconfig_scriptlets --- libindicator.spec | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/libindicator.spec b/libindicator.spec index 8870d71..e54bc4c 100644 --- a/libindicator.spec +++ b/libindicator.spec @@ -165,15 +165,8 @@ rm -f %{buildroot}%{_libdir}/libdummy-indicator*.so # Remove libtool files find %{buildroot} -type f -name '*.la' -delete - -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig - - -%post gtk3 -p /sbin/ldconfig - -%postun gtk3 -p /sbin/ldconfig +%ldconfig_scriptlets +%ldconfig_scriptlets gtk3 %files