template-specs: desktop.spec - add update-mime-database

glen glen at pld-linux.org
Wed Jan 5 21:58:57 CET 2011


Author: glen                         Date: Wed Jan  5 20:58:57 2011 GMT
Module: template-specs                Tag: HEAD
---- Log message:
- add update-mime-database

---- Files affected:
template-specs:
   desktop.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: template-specs/desktop.spec
diff -u template-specs/desktop.spec:1.2 template-specs/desktop.spec:1.3
--- template-specs/desktop.spec:1.2	Wed Jan  5 21:56:36 2011
+++ template-specs/desktop.spec	Wed Jan  5 21:58:52 2011
@@ -11,6 +11,7 @@
 BuildRequires:	rpmbuild(macros) >= 1.596
 Requires:	desktop-file-utils
 Requires:	hicolor-icon-theme
+Requires:	shared-mime-info
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -27,12 +28,14 @@
 rm -rf $RPM_BUILD_ROOT
 
 %post
-%update_icon_cache hicolor
 %update_desktop_database
+%update_icon_cache hicolor
+%update_mime_database
 
 %postun
-%update_icon_cache hicolor
 %update_desktop_database_postun
+%update_icon_cache hicolor
+%update_mime_database
 
 %files
 %defattr(644,root,root,755)
@@ -43,6 +46,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2011/01/05 20:58:52  glen
+- add update-mime-database
+
 Revision 1.2  2011/01/05 20:56:36  glen
 - update_desktop_database
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/template-specs/desktop.spec?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list