rpms/sugar/OLPC-2 sugar.spec,1.120,1.121

Marco Pesenti Gritti (mpg) fedora-extras-commits at redhat.com
Wed Jan 16 16:19:13 UTC 2008


Author: mpg

Update of /cvs/pkgs/rpms/sugar/OLPC-2
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv1930

Modified Files:
	sugar.spec 
Log Message:
* Wed Jan 16 2008 Marco Pesenti Gritti <mpg at redhat.com> - 0.75.8-1
- Update the mime db. Fix #5815




Index: sugar.spec
===================================================================
RCS file: /cvs/pkgs/rpms/sugar/OLPC-2/sugar.spec,v
retrieving revision 1.120
retrieving revision 1.121
diff -u -r1.120 -r1.121
--- sugar.spec	11 Jan 2008 19:47:38 -0000	1.120
+++ sugar.spec	16 Jan 2008 16:18:28 -0000	1.121
@@ -59,6 +59,16 @@
 make install DESTDIR=%{buildroot}
 %find_lang %name
 
+%post
+if (update-mime-database -v &> /dev/null); then
+  update-mime-database "%{_datadir}/mime" > /dev/null
+fi
+
+%postun
+if (update-mime-database -v &> /dev/null); then
+  update-mime-database "%{_datadir}/mime" > /dev/null
+fi
+
 %clean
 rm -rf %{buildroot}
 
@@ -80,6 +90,9 @@
 %{_datadir}/mime/packages/sugar.xml
 
 %changelog
+* Wed Jan 16 2008 Marco Pesenti Gritti <mpg at redhat.com> - 0.75.8-1
+- Update the mime db. Fix #5815
+
 * Fri Jan 11 2008 Marco Pesenti Gritti <mpg at redhat.com> - 0.75.8-1
 - Fix #5489 #4562 #5765 #5559 #5493 #5573 #5648
 




More information about the fedora-extras-commits mailing list