rpms/openshot/F-17 openshot.spec,1.6,1.7

Richard Shaw hobbes1069 at rpmfusion.org
Sun Feb 26 16:21:27 CET 2012


Author: hobbes1069

Update of /cvs/free/rpms/openshot/F-17
In directory se02.es.rpmfusion.net:/tmp/cvs-serv28100

Modified Files:
	openshot.spec 
Log Message:
* Mon Feb 20 2012 Richard Shaw <hobbes1069 at gmail.com> - 1.4.2-4
- Fix small packaging bug with icon.



Index: openshot.spec
===================================================================
RCS file: /cvs/free/rpms/openshot/F-17/openshot.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- openshot.spec	8 Feb 2012 21:54:24 -0000	1.6
+++ openshot.spec	26 Feb 2012 15:21:27 -0000	1.7
@@ -1,6 +1,6 @@
 Name:           openshot
 Version:        1.4.2
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        A GTK based non-linear video editor 
 
 Group:          Applications/Multimedia
@@ -105,14 +105,21 @@
 
 
 %post
+/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
 update-desktop-database &> /dev/null || :
 update-mime-database %{_datadir}/mime &> /dev/null || :
 
-
 %postun
+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
 update-desktop-database &> /dev/null || :
 update-mime-database %{_datadir}/mime &> /dev/null || :
 
+%posttrans
+/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+
 
 %files -f %{name}.lang
 %doc AUTHORS COPYING README
@@ -141,6 +148,9 @@
 
 
 %changelog
+* Mon Feb 20 2012 Richard Shaw <hobbes1069 at gmail.com> - 1.4.2-4
+- Fix small packaging bug with icon.
+
 * Wed Feb 08 2012 Nicolas Chauvet <kwizart at gmail.com> - 1.4.2-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 



More information about the rpmfusion-commits mailing list