packages: vim-syntax-upstart/vim-syntax-upstart.spec, vim-syntax-upstart/vi...
jajcus
jajcus at pld-linux.org
Tue May 11 12:33:38 CEST 2010
Author: jajcus Date: Tue May 11 10:33:38 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- syntax definition improvements
- PLD events added
- Release: 2
---- Files affected:
packages/vim-syntax-upstart:
vim-syntax-upstart.spec (1.2 -> 1.3) , vim-syntax-upstart-keywords_and_pld.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/vim-syntax-upstart/vim-syntax-upstart.spec
diff -u packages/vim-syntax-upstart/vim-syntax-upstart.spec:1.2 packages/vim-syntax-upstart/vim-syntax-upstart.spec:1.3
--- packages/vim-syntax-upstart/vim-syntax-upstart.spec:1.2 Tue Apr 20 19:38:31 2010
+++ packages/vim-syntax-upstart/vim-syntax-upstart.spec Tue May 11 12:33:33 2010
@@ -3,11 +3,12 @@
Summary: Vim syntax: Varnish configuation Language
Name: vim-syntax-%{syntax}
Version: 0.1
-Release: 1
+Release: 2
License: GPL v2
Group: Applications/Editors/Vim
Source0: http://upstart.ubuntu.com/download/0.6/upstart-0.6.5.tar.gz
# Source0-md5: f9466bba72b655c2408353b64105853f
+Patch0: %{name}-keywords_and_pld.patch
Requires: vim-rt >= 4:7.2.411
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -19,6 +20,7 @@
%prep
%setup -q -n %(echo $(basename %{S:0} .tar.gz))
+%patch0 -p1
%install
rm -rf $RPM_BUILD_ROOT
@@ -39,6 +41,11 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.3 2010/05/11 10:33:33 jajcus
+- syntax definition improvements
+- PLD events added
+- Release: 2
+
Revision 1.2 2010/04/20 17:38:31 glen
- vim dep with inversioned ftdetect
================================================================
Index: packages/vim-syntax-upstart/vim-syntax-upstart-keywords_and_pld.patch
diff -u /dev/null packages/vim-syntax-upstart/vim-syntax-upstart-keywords_and_pld.patch:1.1
--- /dev/null Tue May 11 12:33:38 2010
+++ packages/vim-syntax-upstart/vim-syntax-upstart-keywords_and_pld.patch Tue May 11 12:33:33 2010
@@ -0,0 +1,45 @@
+--- upstart-0.6.5/contrib/vim/syntax/upstart.vim.orig 2009-10-23 22:47:27.000000000 +0200
++++ upstart-0.6.5/contrib/vim/syntax/upstart.vim 2010-05-11 12:30:54.000000000 +0200
+@@ -14,6 +14,8 @@
+ elseif exists("b:current_syntax")
+ finish
+ endif
++
++setlocal iskeyword=@,48-57,-,.
+
+ let is_bash = 1
+ "unlet! b:current_syntax
+@@ -33,6 +35,7 @@
+ " one argument
+ syn keyword upstartStatement description author version
+ syn keyword upstartStatement pid kill normal console env umask nice limit chroot chdir exec
++syn keyword upstartStatement expect export
+
+ " one or more arguments (events)
+ syn keyword upstartStatement emits
+@@ -40,7 +43,7 @@
+ syn keyword upstartStatement on start stop
+
+ " flag, no parameter
+-syn keyword upstartStatement daemon respawn service instance
++syn keyword upstartStatement daemon respawn service instance task
+
+ " prefix for exec or script
+ syn keyword upstartOption pre-start post-start pre-stop post-stop
+@@ -53,8 +56,15 @@
+ syn keyword upstartOption limit
+ " options for console
+ syn keyword upstartOption logged output owner none
++" options for expect
++syn keyword upstartOption daemon fork stop
+
+-syn keyword upstartEvent startup stalled control-alt-delete kbdrequest starting started stopping stopped runlevel
++syn keyword upstartEvent startup stalled control-alt-delete kbdrequest starting started stopping stopped runlevel
++
++" PLD events
++syn keyword upstartEvent pld.sysinit-done pld.shutdown-started
++syn keyword upstartEvent root-filesystem virtual-filesystems local-filesystems filesystem all-swaps
++syn keyword upstartEvent pld.network-started pld.network-starting pld.network-stopped pld.network-stopping
+
+ hi def link upstartComment Comment
+ hi def link upstartTodo Todo
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/vim-syntax-upstart/vim-syntax-upstart.spec?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list