2024-03-06 16:41:12 +01:00
Index: vim-9.1.0151/runtime/filetype.vim
2014-08-25 13:50:01 +02:00
===================================================================
2024-03-06 16:41:12 +01:00
--- vim-9.1.0151.orig/runtime/filetype.vim
+++ vim-9.1.0151/runtime/filetype.vim
@@ -2122,7 +2122,7 @@ au BufRead,BufNewFile *.sol setf solid
2021-01-28 13:22:22 +01:00
au BufNewFile,BufRead *.rq,*.sparql setf sparql
2010-11-22 13:28:22 +01:00
" Spec (Linux RPM)
-au BufNewFile,BufRead *.spec setf spec
+au BufNewFile,BufRead *.spec,*.spec.in setf spec
" Speedup (AspenTech plant simulator)
au BufNewFile,BufRead *.speedup,*.spdata,*.spd setf spup
2024-03-06 16:41:12 +01:00
Index: vim-9.1.0151/runtime/syntax/spec.vim
2014-08-25 13:50:01 +02:00
===================================================================
2024-03-06 16:41:12 +01:00
--- vim-9.1.0151.orig/runtime/syntax/spec.vim
+++ vim-9.1.0151/runtime/syntax/spec.vim
2016-09-12 15:27:23 +02:00
@@ -102,7 +102,7 @@ syn case ignore
2009-05-15 23:36:38 +02:00
"%% PreAmble Section %%
"Copyright and Serial were deprecated by License and Epoch
syn region specPreAmbleDeprecated oneline matchgroup=specError start='^\(Copyright\|Serial\)' end='$' contains=specEmail,specURL,specURLMacro,specLicense,specColon,specVariables,specSpecialChar,specMacroIdentifier
2024-03-06 16:41:12 +01:00
-syn region specPreAmble oneline matchgroup=specCommand start='^\(Prereq\|Summary\|Name\|Version\|Packager\|Requires\|Recommends\|Suggests\|Supplements\|Enhances\|Icon\|URL\|SourceLicense\|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
+syn region specPreAmble oneline matchgroup=specCommand start='^\(Prereq\|Summary\|Name\|Version\|Packager\|Requires\|Recommends\|Suggests\|Supplements\|Enhances\|Icon\|URL\|SourceLicense\|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\|Freshens\|EssentialFor\)' end='$' contains=specEmail,specURL,specURLMacro,specLicense,specColon,specVariables,specSpecialChar,specMacroIdentifier
2009-05-15 23:36:38 +02:00
"%% Description Section %%
syn region specDescriptionArea matchgroup=specSection start='^%description' end='^%'me=e-1 contains=specDescriptionOpts,specEmail,specURL,specNumber,specMacroIdentifier,specComment