lkundrak / rpms / vim

Forked from rpms/vim 4 years ago
Clone
6f071e4
diff -up vim74/runtime/syntax/spec.vim.highlite vim74/runtime/syntax/spec.vim
6f071e4
--- vim74/runtime/syntax/spec.vim.highlite	2016-07-04 10:17:45.000000000 +0200
6f071e4
+++ vim74/runtime/syntax/spec.vim	2016-08-04 15:20:26.116049343 +0200
6f071e4
@@ -38,7 +38,7 @@ syn match specNoNumberHilite 'X11\|X11R6
cvsdist e6a9560
 syn match specManpageFile '[a-zA-Z]\.1'
cvsdist e6a9560
 
cvsdist e6a9560
 "Day, Month and most used license acronyms
cvsdist e6a9560
-syn keyword specLicense contained GPL LGPL BSD MIT GNU
cvsdist e6a9560
+syn keyword specLicense contained GPL LGPL BSD MIT GNU distributable
cvsdist e6a9560
 syn keyword specWeekday contained Mon Tue Wed Thu Fri Sat Sun
cvsdist e6a9560
 syn keyword specMonth   contained Jan Feb Mar Apr Jun Jul Aug Sep Oct Nov Dec
cvsdist e6a9560
 syn keyword specMonth   contained January February March April May June July August September October November December
6f071e4
@@ -61,9 +61,9 @@ syn cluster specListedFiles contains=spe
cvsdist e6a9560
 
cvsdist e6a9560
 "specComands
cvsdist e6a9560
 syn match   specConfigure  contained '\./configure'
cvsdist e6a9560
-syn match   specTarCommand contained '\
cvsdist e6a9560
+syn match   specTarCommand contained '\
cvsdist e6a9560
 syn keyword specCommandSpecial contained root
cvsdist e6a9560
-syn keyword specCommand		contained make xmkmf mkdir chmod ln find sed rm strip moc echo grep ls rm mv mkdir install cp pwd cat tail then else elif cd gzip rmdir ln eval export touch
cvsdist e6a9560
+syn keyword specCommand		contained make xmkmf mkdir chmod ln find sed rm strip moc echo grep ls rm mv mkdir install cp pwd cat tail then else elif cd gzip rmdir ln eval export touch bzip2 bunzip2 gunzip
cvsdist e6a9560
 syn cluster specCommands contains=specCommand,specTarCommand,specConfigure,specCommandSpecial
cvsdist e6a9560
 
cvsdist e6a9560
 "frequently used rpm env vars
6f071e4
@@ -105,7 +105,7 @@ syn case ignore
cvsdist e6a9560
 "%% PreAmble Section %%
cvsdist e6a9560
 "Copyright and Serial were deprecated by License and Epoch
cvsdist e6a9560
 syn region specPreAmbleDeprecated oneline matchgroup=specError start='^\(Copyright\|Serial\)' end='$' contains=specEmail,specURL,specURLMacro,specLicense,specColon,specVariables,specSpecialChar,specMacroIdentifier
6f071e4
-syn region specPreAmble oneline matchgroup=specCommand start='^\(Prereq\|Summary\|Name\|Version\|Packager\|Requires\|Recommends\|Suggests\|Supplements\|Enhances\|Icon\|URL\|Source\d*\|Patch\d*\|Prefix\|Packager\|Group\|License\|Release\|BuildRoot\|Distribution\|Vendor\|Provides\|ExclusiveArch\|ExcludeArch\|ExclusiveOS\|Obsoletes\|BuildArch\|BuildArchitectures\|BuildRequires\|BuildConflicts\|BuildPreReq\|Conflicts\|AutoRequires\|AutoReq\|AutoReqProv\|AutoProv\|Epoch\)' end='$' contains=specEmail,specURL,specURLMacro,specLicense,specColon,specVariables,specSpecialChar,specMacroIdentifier
6f071e4
+syn region specPreAmble oneline matchgroup=specCommand start='^\(Prereq\|Summary\|Name\|Version\|Packager\|Requires\|Recommends\|Suggests\|Supplements\|Enhances\|Icon\|URL\|Source\d*\|Patch\d*\|Prefix\|Packager\|Group\|License\|Release\|BuildRoot\|Distribution\|Vendor\|Provides\|ExclusiveArch\|ExcludeArch\|ExcludeOS\|ExclusiveOS\|Obsoletes\|BuildArch\|BuildArchitectures\|BuildRequires\|BuildConflicts\|BuildPreReq\|Conflicts\|AutoRequires\|AutoReq\|AutoReqProv\|AutoProv\|Epoch\)' end='$' contains=specEmail,specURL,specURLMacro,specLicense,specColon,specVariables,specSpecialChar,specMacroIdentifier
cvsdist e6a9560
 
cvsdist e6a9560
 "%% Description Section %%
cvsdist e6a9560
 syn region specDescriptionArea matchgroup=specSection start='^%description' end='^%'me=e-1 contains=specDescriptionOpts,specEmail,specURL,specNumber,specMacroIdentifier,specComment