SOURCES: spec.vim - recognize update_mime_database

adamg adamg at pld-linux.org
Thu Jul 24 20:19:27 CEST 2008


Author: adamg                        Date: Thu Jul 24 18:19:27 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- recognize update_mime_database

---- Files affected:
SOURCES:
   spec.vim (1.84 -> 1.85) 

---- Diffs:

================================================================
Index: SOURCES/spec.vim
diff -u SOURCES/spec.vim:1.84 SOURCES/spec.vim:1.85
--- SOURCES/spec.vim:1.84	Thu Jul 17 14:37:34 2008
+++ SOURCES/spec.vim	Thu Jul 24 20:19:21 2008
@@ -81,7 +81,7 @@
 syn match   specMacro contained '%update_browser_plugins\|%browser_plugins_add_browser'
 syn match   specMacro contained '%gconf_schema_\(un\)?install'
 syn match   specMacro contained '%scrollkeeper_update_post\(un\)?'
-syn match   specMacro contained '%update_icon_cache'
+syn match   specMacro contained '%update_icon_cache|%update_mime_database'
 
 syn keyword specCommandSpecial contained root
 syn keyword specCommand		contained make xmkmf mkdir chmod find sed rm strip moc echo grep ls rm mv mkdir chown install cp pwd cat tail then else elif cd gzip rmdir ln eval export touch unzip bzip2
@@ -178,7 +178,7 @@
 " %% Scripts Section %%
 syn region specScriptArea matchgroup=specSection
 	\ start='^%\(prep\|build\|install\|clean\|pre\|postun\|preun\|post\|triggerin\|triggerun\|triggerpostun\|pretrans\|posttrans\|verifyscript\|check\)\>'
-	\ skip='^%{\|^%\(define\|patch\d*\|configure2_13\|configure\|ant\|GNUconfigure\|setup\|find_lang\|makeinstall\|cmake\|scons\|waf\|useradd\|groupadd\|addusertogroup\|banner\|service\|env_update\|py_o\?comp\|py_postclean\|py_lint\|\(openldap_schema\|webapp\)_\(un\)\?register\|depmod\|pear_package_\(setup\|install\)\|\(build\|install\)_kernel_modules\|php_webserver_restart\|php4_webserver_restart\|update_browser_plugins\|gconf_schema_\(un\)?install\|scrollkeeper_update_post\(un\)?\|update_icon_cache\)\>'
+	\ skip='^%{\|^%\(define\|patch\d*\|configure2_13\|configure\|ant\|GNUconfigure\|setup\|find_lang\|makeinstall\|cmake\|scons\|waf\|useradd\|groupadd\|addusertogroup\|banner\|service\|env_update\|py_o\?comp\|py_postclean\|py_lint\|\(openldap_schema\|webapp\)_\(un\)\?register\|depmod\|pear_package_\(setup\|install\)\|\(build\|install\)_kernel_modules\|php_webserver_restart\|php4_webserver_restart\|update_browser_plugins\|gconf_schema_\(un\)?install\|scrollkeeper_update_post\(un\)?\|update_icon_cache\|update_mime_database\)\>'
 	\ end='^%'me=e-1
 	\ contains=specSpecialVariables,specVariables, at specCommands,specVariables,shDo,shFor,shCaseEsac,specNoNumberHilite,specCommandOpts,shComment,shIf,specSpecialChar,specMacroIdentifier,specSectionMacroArea,specSectionMacroBracketArea,shOperator,shQuote1,shQuote2,specSectionMacroBcondArea
 " XXX don't forget to update specMacro when updating specScriptArea skip definition
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/spec.vim?r1=1.84&r2=1.85&f=u



More information about the pld-cvs-commit mailing list