rpms/freedroid/devel freedroid.spec,1.12,1.13

Ville Skyttä scop at fedoraproject.org
Thu Feb 19 20:25:51 UTC 2009


Author: scop

Update of /cvs/pkgs/rpms/freedroid/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv5142

Modified Files:
	freedroid.spec 
Log Message:
* Wed Feb 18 2009 Ville Skyttä <ville.skytta at iki.fi> - 1.0.2-10
- Improve icon cache refresh scriptlets (#475927).



Index: freedroid.spec
===================================================================
RCS file: /cvs/pkgs/rpms/freedroid/devel/freedroid.spec,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- freedroid.spec	9 Feb 2008 16:47:20 -0000	1.12
+++ freedroid.spec	19 Feb 2009 20:25:21 -0000	1.13
@@ -1,6 +1,6 @@
 Name:           freedroid
 Version:        1.0.2
-Release:        9%{?dist}
+Release:        10%{?dist}
 Summary:        Clone of the C64 game Paradroid
 
 Group:          Amusements/Games
@@ -64,10 +64,16 @@
 
 
 %post
-gtk-update-icon-cache -qf %{_datadir}/icons/hicolor &>/dev/null || :
+touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
 
 %postun
-gtk-update-icon-cache -qf %{_datadir}/icons/hicolor &>/dev/null || :
+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
@@ -81,6 +87,9 @@
 
 
 %changelog
+* Wed Feb 18 2009 Ville Skyttä <ville.skytta at iki.fi> - 1.0.2-10
+- Improve icon cache refresh scriptlets (#475927).
+
 * Sat Feb  9 2008 Ville Skyttä <ville.skytta at iki.fi> - 1.0.2-9
 - Fix libvorbis(file) linkage.
 - Point source tarball URL to downloads.sourceforge.net.




More information about the fedora-extras-commits mailing list