From 78b333dda47b2bc456107433c46ba76b71b89a9c Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Thu, 11 Jan 2018 16:54:47 +0100 Subject: [PATCH] Remove obsolete scriptlets Signed-off-by: Igor Gnatenko --- kwin.spec | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/kwin.spec b/kwin.spec index a0c419a..7e82138 100644 --- a/kwin.spec +++ b/kwin.spec @@ -16,7 +16,7 @@ Name: kwin Version: 5.11.5 -Release: 1%{?dist} +Release: 2%{?dist} Summary: KDE Window manager # all sources are effectively GPLv2+, except for: @@ -234,18 +234,6 @@ make test ARGS="--output-on-failure --timeout 10" -C %{_target_platform} ||: %endif -%post -/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : - -%postun -if [ $1 -eq 0 ] ; then - /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null - /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : -fi - -%posttrans -/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : - %files %{_bindir}/kwin %{_bindir}/kwin_x11 @@ -316,6 +304,9 @@ fi %changelog +* Thu Jan 11 2018 Igor Gnatenko - 5.11.5-2 +- Remove obsolete scriptlets + * Tue Jan 02 2018 Rex Dieter - 5.11.5-1 - 5.11.5