From 619d304fd6e2e119a9c885a8d5a240b9de262d47 Mon Sep 17 00:00:00 2001 From: Karsten Hopp Date: Oct 25 2005 13:24:49 +0000 Subject: - add syntax highlighting rule for %%check (Ralf Ertzinger, #165277) --- diff --git a/vim-6.4-checkhl.patch b/vim-6.4-checkhl.patch new file mode 100644 index 0000000..6c6f5ee --- /dev/null +++ b/vim-6.4-checkhl.patch @@ -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 diff --git a/vim.spec b/vim.spec index d885521..d1b5683 100644 --- a/vim.spec +++ b/vim.spec @@ -28,7 +28,7 @@ Summary: The VIM editor. Name: vim Version: %{baseversion}.%{patchlevel} -Release: 1 +Release: 2 License: freeware Group: Applications/Editors 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 Patch3007: vim-6.3-dnssyntax.patch Patch3008: vim-6.4-cvim.patch +Patch3009: vim-6.4-checkhl.patch Patch3100: vim-selinux.patch @@ -192,6 +193,8 @@ perl -pi -e "s,bin/nawk,bin/awk,g" runtime/tools/mve.awk %patch3006 -p1 %patch3007 -p1 +%patch3009 -p1 + %if %{WITH_SELINUX} %patch3100 -p1 %endif @@ -487,7 +490,9 @@ rm -rf $RPM_BUILD_ROOT %endif %changelog +* Tue Oct 25 2005 Karsten Hopp 6.4.000-2 - use %%{_sysconfdir} (#171556) +- add syntax highlighting rule for %%check (Ralf Ertzinger, #165277) * Mon Oct 17 2005 Karsten Hopp 6.4.000-1 - vim-6.4 patchlevel 0