From 09ebe6b3afca2ae4bab312db5d1e2efaef3aabfd Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Thu, 18 Jan 2018 21:58:50 +0100 Subject: [PATCH] Remove obsolete scriptlets Signed-off-by: Igor Gnatenko --- plasma-desktop.spec | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/plasma-desktop.spec b/plasma-desktop.spec index 691f5d1..e05b4f5 100644 --- a/plasma-desktop.spec +++ b/plasma-desktop.spec @@ -8,7 +8,7 @@ Name: plasma-desktop Summary: Plasma Desktop shell Version: 5.11.95 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2+ and (GPLv2 or GPLv3) URL: https://cgit.kde.org/%{name}.git @@ -229,20 +229,9 @@ rm -rfv %{buildroot}%{_datadir}/locale/*/LC_SCRIPTS/kfontinst/ %check desktop-file-validate %{buildroot}/%{_datadir}/applications/org.kde.{kfontview,knetattach}.desktop +%post -p /sbin/ldconfig -%post -/sbin/ldconfig -touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : - -%posttrans -gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : - -%postun -/sbin/ldconfig -if [ $1 -eq 0 ] ; then - touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : - gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : -fi +%postun -p /sbin/ldconfig %files -f plasmadesktop5.lang %license COPYING* @@ -326,6 +315,9 @@ fi %changelog +* Thu Jan 18 2018 Igor Gnatenko - 5.11.95-2 +- Remove obsolete scriptlets + * Mon Jan 15 2018 Jan Grulich - 5.11.95-1 - 5.11.95