From 58ca917d623f60fd699be95747a0809de6b45783 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sun, 27 Jan 2019 13:05:41 +0100 Subject: [PATCH] Remove obsolete scriptlets References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko --- kf5-libkipi.spec | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/kf5-libkipi.spec b/kf5-libkipi.spec index a840922..8ce846b 100644 --- a/kf5-libkipi.spec +++ b/kf5-libkipi.spec @@ -67,19 +67,7 @@ popd make install/fast DESTDIR=%{buildroot} -C %{_target_platform} -%post -%{?ldconfig} -touch --no-create %{_kf5_datadir}/icons/hicolor &> /dev/null || : - -%posttrans -gtk-update-icon-cache %{_kf5_datadir}/icons/hicolor &> /dev/null || : - -%postun -%{?ldconfig} -if [ $1 -eq 0 ] ; then -touch --no-create %{_kf5_datadir}/icons/hicolor &> /dev/null || : -gtk-update-icon-cache %{_kf5_datadir}/icons/hicolor &> /dev/null || : -fi +%ldconfig_scriptlets %files %doc AUTHORS README