diff --git a/akonadiconsole.spec b/akonadiconsole.spec index 272981b..ae9e580 100644 --- a/akonadiconsole.spec +++ b/akonadiconsole.spec @@ -9,7 +9,7 @@ Name: akonadiconsole Summary: Akonadi developer tool Version: 17.12.0 -Release: 1%{?dist} +Release: 2%{?dist} # code (generally) GPLv2, docs GFDL License: GPLv2 and GFDL @@ -113,21 +113,9 @@ make test ARGS="--output-on-failure --timeout 20" -C %{_target_platform} ||: %endif -%post -/sbin/ldconfig -touch --no-create %{_kf5_datadir}/icons/hicolor &> /dev/null ||: +%post -p /sbin/ldconfig -%posttrans -gtk-update-icon-cache %{_kf5_datadir}/icons/hicolor &> /dev/null ||: -update-desktop-database -q &> /dev/null ||: - -%postun -/sbin/ldconfig -if [ $1 -eq 0 ] ; then -update-desktop-database -q &> /dev/null ||: -touch --no-create %{_kf5_datadir}/icons/hicolor &> /dev/null ||: -gtk-update-icon-cache %{_kf5_datadir}/icons/hicolor &> /dev/null ||: -fi +%postun -p /sbin/ldconfig %files %license COPYING* @@ -142,6 +130,9 @@ fi %changelog +* Sun Jan 07 2018 Igor Gnatenko - 17.12.0-2 +- Remove obsolete scriptlets + * Tue Dec 12 2017 Rex Dieter - 17.12.0-1 - 17.12.0