From 63dbe6d0e957e27a97450c1a7d11b76a1ecca79a Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Thu, 11 Jan 2018 14:59:59 +0100 Subject: [PATCH] Remove obsolete scriptlets Signed-off-by: Igor Gnatenko --- kmenuedit.spec | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/kmenuedit.spec b/kmenuedit.spec index 6471085..f834d5d 100644 --- a/kmenuedit.spec +++ b/kmenuedit.spec @@ -4,7 +4,7 @@ Name: kmenuedit Summary: KDE menu editor Version: 5.11.5 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2+ URL: https://cgit.kde.org/%{name}.git @@ -69,18 +69,6 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform} desktop-file-validate %{buildroot}%{_datadir}/applications/org.kde.kmenuedit.desktop -%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 -f kmenuedit5.lang %license COPYING* %{_bindir}/kmenuedit @@ -92,6 +80,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