From aa462e0b6ac86168e577b4ffd77bda0d9a31c395 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sun, 27 Jan 2019 13:09:03 +0100 Subject: [PATCH] Remove obsolete scriptlets References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko --- nextcloud-client.spec | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/nextcloud-client.spec b/nextcloud-client.spec index 502ccd4..04374bc 100644 --- a/nextcloud-client.spec +++ b/nextcloud-client.spec @@ -174,19 +174,6 @@ rm -rf %{buildroot}%{_datadir}/caja-python/ %check appstream-util validate-relax --nonet %{buildroot}%{_datadir}/appdata/nextcloud.appdata.xml - -%post -touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : - -%posttrans -gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || : - -%postun -if [ $1 -eq 0 ] ; then - touch --no-create %{_datadir}/icons/hicolor &> /dev/null - gtk-update-icon-cache -f %{_datadir}/icons/hicolor &> /dev/null || : -fi - %ldconfig_scriptlets libs %if 0%{?fedora} >= 24 || 0%{?rhel} > 7