- add syntax highlighting rule for %%check (Ralf Ertzinger, #165277)

This commit is contained in:
Karsten Hopp 2005-10-25 13:24:49 +00:00
parent 5820b64266
commit 619d304fd6
2 changed files with 17 additions and 1 deletions

11
vim-6.4-checkhl.patch Normal file
View File

@ -0,0 +1,11 @@
--- vim64/runtime/syntax/spec.vim.check 2005-10-25 13:18:57.000000000 +0200
+++ vim64/runtime/syntax/spec.vim 2005-10-25 13:20:06.000000000 +0200
@@ -114,7 +114,7 @@
syn region specPackageArea matchgroup=specSection start='^%package' end='^%'me=e-1 contains=specPackageOpts,specPreAmble,specComment
"%% Scripts Section %%
-syn region specScriptArea matchgroup=specSection start='^%\(prep\|build\|install\|clean\|pre\|postun\|preun\|post\)\>' skip='^%{\|^%\(define\|patch\d*\|configure\|GNUconfigure\|setup\|find_lang\|makeinstall\)\>' end='^%'me=e-1 contains=specSpecialVariables,specVariables,@specCommands,specVariables,shDo,shFor,shCaseEsac,specNoNumberHilite,specCommandOpts,shComment,shIf,specSpecialChar,specMacroIdentifier,specSectionMacroArea,specSectionMacroBracketArea,shOperator,shQuote1,shQuote2
+syn region specScriptArea matchgroup=specSection start='^%\(prep\|build\|install\|check\|clean\|pre\|postun\|preun\|post\)\>' skip='^%{\|^%\(define\|patch\d*\|configure\|GNUconfigure\|setup\|find_lang\|makeinstall\)\>' end='^%'me=e-1 contains=specSpecialVariables,specVariables,@specCommands,specVariables,shDo,shFor,shCaseEsac,specNoNumberHilite,specCommandOpts,shComment,shIf,specSpecialChar,specMacroIdentifier,specSectionMacroArea,specSectionMacroBracketArea,shOperator,shQuote1,shQuote2
"%% Changelog Section %%
syn region specChangelogArea matchgroup=specSection start='^%changelog' end='^%'me=e-1 contains=specEmail,specURL,specWeekday,specMonth,specNumber,specComment,specLicense

View File

@ -28,7 +28,7 @@
Summary: The VIM editor. Summary: The VIM editor.
Name: vim Name: vim
Version: %{baseversion}.%{patchlevel} Version: %{baseversion}.%{patchlevel}
Release: 1 Release: 2
License: freeware License: freeware
Group: Applications/Editors Group: Applications/Editors
Source0: ftp://ftp.vim.org/pub/vim/unix/vim-%{baseversion}.tar.bz2 Source0: ftp://ftp.vim.org/pub/vim/unix/vim-%{baseversion}.tar.bz2
@ -66,6 +66,7 @@ Patch3005: vim-6.2-rh4.patch
Patch3006: vim-6.2-rh5.patch Patch3006: vim-6.2-rh5.patch
Patch3007: vim-6.3-dnssyntax.patch Patch3007: vim-6.3-dnssyntax.patch
Patch3008: vim-6.4-cvim.patch Patch3008: vim-6.4-cvim.patch
Patch3009: vim-6.4-checkhl.patch
Patch3100: vim-selinux.patch Patch3100: vim-selinux.patch
@ -192,6 +193,8 @@ perl -pi -e "s,bin/nawk,bin/awk,g" runtime/tools/mve.awk
%patch3006 -p1 %patch3006 -p1
%patch3007 -p1 %patch3007 -p1
%patch3009 -p1
%if %{WITH_SELINUX} %if %{WITH_SELINUX}
%patch3100 -p1 %patch3100 -p1
%endif %endif
@ -487,7 +490,9 @@ rm -rf $RPM_BUILD_ROOT
%endif %endif
%changelog %changelog
* Tue Oct 25 2005 Karsten Hopp <karsten@redhat.de> 6.4.000-2
- use %%{_sysconfdir} (#171556) - use %%{_sysconfdir} (#171556)
- add syntax highlighting rule for %%check (Ralf Ertzinger, #165277)
* Mon Oct 17 2005 Karsten Hopp <karsten@redhat.de> 6.4.000-1 * Mon Oct 17 2005 Karsten Hopp <karsten@redhat.de> 6.4.000-1
- vim-6.4 patchlevel 0 - vim-6.4 patchlevel 0