From 65e4c93ade97908c7cedd7a24115af0092a29c82 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Jan 18 2018 20:58:04 +0000 Subject: Remove obsolete scriptlets Signed-off-by: Igor Gnatenko --- diff --git a/plank.spec b/plank.spec index 59fbb97..fbc60b8 100644 --- a/plank.spec +++ b/plank.spec @@ -1,7 +1,7 @@ Name: plank Summary: A port of docky to Vala Version: 0.11.4 -Release: 3%{?dist} +Release: 4%{?dist} License: GPLv3+ URL: http://wiki.go-docky.com/index.php?title=Plank:Introduction @@ -90,21 +90,9 @@ rm -f %{buildroot}/%{_libdir}/%{name}/docklets/libdocklet-*.la desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/appdata/%{name}.appdata.xml +%post -p /sbin/ldconfig -%post -/sbin/ldconfig -/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : - -%postun -/sbin/ldconfig -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 || : - +%postun -p /sbin/ldconfig %files -f %{name}.lang %doc AUTHORS ChangeLog @@ -139,6 +127,9 @@ fi %changelog +* Thu Jan 18 2018 Igor Gnatenko - 0.11.4-4 +- Remove obsolete scriptlets + * Thu Aug 03 2017 Fedora Release Engineering - 0.11.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild