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