SOURCES: spec.vim - recognize %check section from rpm 4.2

glen glen at pld-linux.org
Tue Feb 28 14:23:17 CET 2006


Author: glen                         Date: Tue Feb 28 13:23:17 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- recognize %check section from rpm 4.2

---- Files affected:
SOURCES:
   spec.vim (1.45 -> 1.46) 

---- Diffs:

================================================================
Index: SOURCES/spec.vim
diff -u SOURCES/spec.vim:1.45 SOURCES/spec.vim:1.46
--- SOURCES/spec.vim:1.45	Sun Jan  1 12:50:07 2006
+++ SOURCES/spec.vim	Tue Feb 28 14:23:12 2006
@@ -159,11 +159,11 @@
 
 " %% Scripts Section %%
 syn region specScriptArea matchgroup=specSection
-	\ start='^%\(prep\|build\|install\|clean\|pre\|postun\|preun\|post\|triggerin\|triggerun\|triggerpostun\|pretrans\|posttrans\|verifyscript\)\>'
+	\ start='^%\(prep\|build\|install\|clean\|pre\|postun\|preun\|post\|triggerin\|triggerun\|triggerpostun\|pretrans\|posttrans\|verifyscript\|check\)\>'
 	\ skip='^%{\|^%\(define\|patch\d*\|configure2_13\|configure\|GNUconfigure\|setup\|find_lang\|makeinstall\|useradd\|groupadd\|addusertogroup\|banner\|service\|py_o\?comp\|py_postclean\|\(\(nsplugin\|apache_config\)_\(un\)\?install\)\|webapp_\(un\)\?register\|depmod\|pear_package_\(setup\|install\)\)\>'
 	\ 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
+" XXX don't forget to update specMacro when updating specScriptArea skip definition
 
 " %% Changelog Section %%
 syn region specChangelogArea matchgroup=specSection start='^%changelog' end='^%'me=e-1
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/spec.vim?r1=1.45&r2=1.46&f=u



More information about the pld-cvs-commit mailing list