From 9b6703339bbd8b0bda29f56a0fb76dfbcefc6ab0 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Jan 11 2018 13:54:20 +0000 Subject: Remove obsolete scriptlets Signed-off-by: Igor Gnatenko --- diff --git a/gnote.spec b/gnote.spec index 18a30f2..8e312e3 100644 --- a/gnote.spec +++ b/gnote.spec @@ -1,6 +1,6 @@ Name: gnote Version: 3.26.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Note-taking application License: GPLv3+ @@ -45,21 +45,9 @@ find %{buildroot} -type f -name "*.la" -delete %check desktop-file-validate %{buildroot}%{_datadir}/applications/gnote.desktop -%post -/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : -/sbin/ldconfig +%post -p /sbin/ldconfig -%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 || : - /usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : -fi -/sbin/ldconfig - -%posttrans -/usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : -/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : +%postun -p /sbin/ldconfig %files -f %{name}.lang %license COPYING @@ -81,6 +69,9 @@ fi %{_datadir}/appdata/%{name}.appdata.xml %changelog +* Thu Jan 11 2018 Igor Gnatenko - 3.26.0-2 +- Remove obsolete scriptlets + * Mon Sep 18 2017 Kalev Lember - 3.26.0-1 - Update to 3.26.0