[xfce4-mixer] Own %{_datadir}/xfce4-mixer/ Remove useless gtk-icon-cache scriptlets

Christoph Wickert cwickert at fedoraproject.org
Mon Oct 10 20:48:15 UTC 2011


commit 5823b1c526b807c12f20a839c50b64c27328abab
Author: Christoph Wickert <cwickert at fedoraproject.org>
Date:   Mon Oct 10 22:48:12 2011 +0200

    Own %{_datadir}/xfce4-mixer/
    Remove useless gtk-icon-cache scriptlets

 xfce4-mixer.spec |   23 ++++++-----------------
 1 files changed, 6 insertions(+), 17 deletions(-)
---
diff --git a/xfce4-mixer.spec b/xfce4-mixer.spec
index b3e09dd..688621d 100644
--- a/xfce4-mixer.spec
+++ b/xfce4-mixer.spec
@@ -2,7 +2,7 @@
 
 Name:           xfce4-mixer
 Version:        4.8.0
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Volume control plugin for the Xfce 4 panel
 
 Group:          User Interface/Desktops
@@ -54,21 +54,6 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
 rm -rf $RPM_BUILD_ROOT
 
 
-%post
-touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
-
-
-%postun
-if [ $1 -eq 0 ] ; then
-	touch --no-create %{_datadir}/icons/hicolor &>/dev/null
-	gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
-fi
-
-
-%posttrans
-gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
-
-
 %files -f %{name}.lang
 %defattr(-,root,root,-)
 %doc README TODO ChangeLog COPYING AUTHORS NEWS
@@ -76,10 +61,14 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 %{_datadir}/applications/xfce4-mixer.desktop
 %{_libexecdir}/xfce4/panel-plugins/xfce4-mixer-plugin
 %{_datadir}/pixmaps/xfce4-mixer/
-%{_datadir}/xfce4-mixer/icons/hicolor/*/*/*
+%{_datadir}/xfce4-mixer/
 %{_datadir}/xfce4/panel/plugins/*.desktop
 
 %changelog
+* Mon Oct 10 2011 Christoph Wickert <cwickert at fedoraproject.org> - 4.8.0-2
+- Own %%{_datadir}/xfce4-mixer/
+- Remove useless gtk-icon-cache scriptlets
+
 * Fri Feb 25 2011 Christoph Wickert <cwickert at fedoraproject.org> - 4.8.0-1
 - Update to 4.8.0
 


More information about the scm-commits mailing list