packages: vim/vim.spec, vim/vim-ft-lib-udevrules.patch (NEW) - recognize fi...

glen glen at pld-linux.org
Tue Mar 16 20:06:12 CET 2010


Author: glen                         Date: Tue Mar 16 19:06:12 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- recognize files in /lib/udev/rules

---- Files affected:
packages/vim:
   vim.spec (1.500 -> 1.501) , vim-ft-lib-udevrules.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/vim/vim.spec
diff -u packages/vim/vim.spec:1.500 packages/vim/vim.spec:1.501
--- packages/vim/vim.spec:1.500	Sun Mar 14 21:45:44 2010
+++ packages/vim/vim.spec	Tue Mar 16 20:06:04 2010
@@ -13,6 +13,9 @@
 %bcond_without	selinux		# without selinux support
 %bcond_without	home_etc	# without home_etc support
 
+# Command to check for latest patch:
+# wget -q -O - ftp://ftp.vim.org/pub/editors/vim/patches/7.2/MD5SUMS|grep -vF .gz|tail -n1|awk '{print $2}'
+
 %define		ver		7.2
 %define		patchlevel	394
 Summary:	Vi IMproved - a Vi clone
@@ -102,6 +105,7 @@
 Patch113:	%{name}-locales.patch
 Patch114:	%{name}-rtdir.patch
 Patch115:	%{name}-ft-mib.patch
+Patch116:	%{name}-ft-lib-udevrules.patch
 URL:		http://www.vim.org/
 BuildRequires:	acl-devel
 BuildRequires:	autoconf
@@ -713,6 +717,7 @@
 %patch113 -p1
 %patch114 -p1
 %patch115 -p1
+%patch116 -p1
 
 cp -a %{SOURCE20} runtime/syntax
 cp -a %{SOURCE22} runtime/syntax
@@ -1355,6 +1360,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.501  2010/03/16 19:06:04  glen
+- recognize files in /lib/udev/rules
+
 Revision 1.500  2010/03/14 20:45:44  arekm
 - up to 7.2.394; ruby1.9 support seems to be in new patches
 

================================================================
Index: packages/vim/vim-ft-lib-udevrules.patch
diff -u /dev/null packages/vim/vim-ft-lib-udevrules.patch:1.1
--- /dev/null	Tue Mar 16 20:06:12 2010
+++ packages/vim/vim-ft-lib-udevrules.patch	Tue Mar 16 20:06:04 2010
@@ -0,0 +1,13 @@
+--- vim72/runtime/filetype.vim~	2010-03-16 20:11:19.304293041 +0200
++++ vim72/runtime/filetype.vim	2010-03-16 20:03:33.541017783 +0200
+@@ -1830,6 +1830,10 @@
+     setf udevrules
+     return
+   endif
++  if expand('<amatch>:p') =~ '^/lib/udev/\%(rules\.d/\)\=.*\.rules$'
++    setf udevrules
++    return
++  endif
+   try
+     let config_lines = readfile('/etc/udev/udev.conf')
+   catch /^Vim\%((\a\+)\)\=:E484/
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/vim/vim.spec?r1=1.500&r2=1.501&f=u



More information about the pld-cvs-commit mailing list