rpms/gnome-bluetooth/devel gnome-bluetooth.spec,1.76,1.77

Bastien Nocera hadess at fedoraproject.org
Fri May 1 17:56:25 UTC 2009


Author: hadess

Update of /cvs/pkgs/rpms/gnome-bluetooth/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv11511

Modified Files:
	gnome-bluetooth.spec 
Log Message:
* Fri May 01 2009 Bastien Nocera <bnocera at redhat.com> 2.27.4-4
- Use the scriplets on the wiki for the icon update


Index: gnome-bluetooth.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gnome-bluetooth/devel/gnome-bluetooth.spec,v
retrieving revision 1.76
retrieving revision 1.77
diff -u -p -r1.76 -r1.77
--- gnome-bluetooth.spec	1 May 2009 17:31:31 -0000	1.76
+++ gnome-bluetooth.spec	1 May 2009 17:55:54 -0000	1.77
@@ -1,6 +1,6 @@
 Name:		gnome-bluetooth
 Version:	2.27.4
-Release:	3%{?dist}
+Release:	4%{?dist}
 Summary:	Bluetooth graphical utilities
 
 Group:		Applications/Communications
@@ -114,10 +114,10 @@ export GCONF_CONFIG_SOURCE=`gconftool-2 
 gconftool-2 --makefile-install-rule					\
 	%{_sysconfdir}/gconf/schemas/bluetooth-manager.schemas		\
 	>& /dev/null || :
-touch %{_datadir}/icons/hicolor
-if [ -x /usr/bin/gtk-update-icon-cache ]; then
-	/usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
-fi
+touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
+
+%posttrans
+gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 
 %pre
 if [ "$1" -gt 1 ]; then
@@ -150,9 +150,9 @@ fi
 %postun
 scrollkeeper-update -q
 update-desktop-database -q
-touch %{_datadir}/icons/hicolor
-if [ -x /usr/bin/gtk-update-icon-cache ]; then
-	/usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
+if [ $1 -eq 0 ] ; then
+	touch --no-create %{_datadir}/icons/hicolor &>/dev/null
+	gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 fi
 
 %post libs -p /sbin/ldconfig
@@ -184,6 +184,9 @@ fi
 %{_datadir}/gtk-doc/html/gnome-bluetooth/
 
 %changelog
+* Fri May 01 2009 Bastien Nocera <bnocera at redhat.com> 2.27.4-4
+- Use the scriplets on the wiki for the icon update
+
 * Fri May 01 2009 Bastien Nocera <bnocera at redhat.com> 2.27.4-3
 - Touch the icon theme directory, should fix the icon not appearing
   properly on new installs




More information about the scm-commits mailing list