rpms/gmediafinder/devel gmediafinder.spec,1.4,1.5

Martin Gansser martinkg at rpmfusion.org
Wed May 29 22:44:52 CEST 2013


Author: martinkg

Update of /cvs/free/rpms/gmediafinder/devel
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv25114/devel

Modified Files:
	gmediafinder.spec 
Log Message:



Index: gmediafinder.spec
===================================================================
RCS file: /cvs/free/rpms/gmediafinder/devel/gmediafinder.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- gmediafinder.spec	29 May 2013 20:26:11 -0000	1.4
+++ gmediafinder.spec	29 May 2013 20:44:52 -0000	1.5
@@ -2,7 +2,7 @@
 
 Name:           gmediafinder
 Version:        1.5.1
-Release:        2.%{gitrev}%{?dist}
+Release:        3.%{gitrev}%{?dist}
 Summary:        A program to stream an/or download files
 License:        GPLv2
 Group:          Applications/Internet
@@ -74,17 +74,17 @@
 %find_lang %{name}
 
 %post
-update-desktop-database -q %{_datadir}/applications &> /dev/null || :
-if [ -x /usr/bin/gtk-update-icon-cache ]; then
-   /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor &>/dev/null || :
-fi
+/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
 
 %postun
-update-desktop-database -q %{_datadir}/applications &> /dev/null || :
-if [ -x /usr/bin/gtk-update-icon-cache ]; then
-   /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor &>/dev/null || :
+if [ $1 -eq 0 ] ; then
+    /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
+    /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 fi
 
+%posttrans
+/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+
 %files -f %{name}.lang
 %doc CHANGELOG gpl-2.0.txt README VERSION
 %{_bindir}/*
@@ -98,6 +98,10 @@
 %dir %{_datadir}/pyshared
 
 %changelog
+* Wed May 29 2013 Martin Gansser <linux4martin at gmx.de> 1.5.1-3.26f89cf
+- changed %%post section
+- added %%posttrans section
+
 * Wed May 29 2013 Martin Gansser <linux4martin at gmx.de> 1.5.1-2.26f89cf
 - removed %%desktop-file-validate
 - make Youtube engine file executable


More information about the rpmfusion-commits mailing list