From f7af23f262563b185bf3a6551016f628f41aa3e7 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Jan 11 2018 13:50:51 +0000 Subject: Remove obsolete scriptlets Signed-off-by: Igor Gnatenko --- diff --git a/featherpad.spec b/featherpad.spec index a9ac836..57cfc9c 100644 --- a/featherpad.spec +++ b/featherpad.spec @@ -13,7 +13,7 @@ Name: featherpad Version: 0.6.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Lightweight Qt5 Plain-Text Editor License: GPLv3+ @@ -76,18 +76,6 @@ make install INSTALL_ROOT=%{buildroot} -C %{_target_platform} desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.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 %{name}.lang %license COPYING @@ -100,6 +88,9 @@ fi %changelog +* Thu Jan 11 2018 Igor Gnatenko - 0.6.1-2 +- Remove obsolete scriptlets + * Fri Oct 20 2017 Christian Dersch - 0.6.1-1 - new version