From 14deb52d02decabd7dda8bcfa01e628031f03414 Mon Sep 17 00:00:00 2001 From: Charalampos Stratakis Date: Feb 05 2018 16:50:53 +0000 Subject: Remove obsolete scriptlets that are now automatic. --- diff --git a/python3.spec b/python3.spec index e9465a6..8765231 100644 --- a/python3.spec +++ b/python3.spec @@ -1077,26 +1077,6 @@ CheckPython optimized %endif # with tests -# ====================================================== -# Scriptlets -# ====================================================== - -%post libs -p /sbin/ldconfig - -%postun libs -p /sbin/ldconfig - -%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 %defattr(-, root, root) %license LICENSE