[vim-perl-support] update to 4.13

Iain Arnell iarnell at fedoraproject.org
Wed Sep 14 15:57:33 UTC 2011


commit cf615a9941f5f55e683bcf6ac067de02eb85bdcd
Author: Iain Arnell <iarnell at gmail.com>
Date:   Wed Sep 14 17:50:39 2011 +0200

    update to 4.13

 .gitignore                                 |    1 +
 sources                                    |    2 +-
 vim-perl-support-4.13-local-template.patch |   12 ++++++++++++
 vim-perl-support.spec                      |   13 +++++++++++--
 4 files changed, 25 insertions(+), 3 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 1c0e123..eaa3f81 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@ perl-support-4.8.zip
 /perl-support-4.10.zip
 /perl-support-4.11.zip
 /perl-support-4.12.zip
+/perl-support-4.13.zip
diff --git a/sources b/sources
index 836e76e..a58bd23 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-9e439724cae69e13f4ab05b97237ae62  perl-support-4.12.zip
+d0d7a1b96e8553c34fc2daa1998a88a0  perl-support-4.13.zip
diff --git a/vim-perl-support-4.13-local-template.patch b/vim-perl-support-4.13-local-template.patch
new file mode 100644
index 0000000..11a9381
--- /dev/null
+++ b/vim-perl-support-4.13-local-template.patch
@@ -0,0 +1,12 @@
+diff -up vim-perl-support-4.13/plugin/perl-support.vim.orig vim-perl-support-4.13/plugin/perl-support.vim
+--- vim-perl-support-4.13/plugin/perl-support.vim.orig	2011-09-11 17:57:11.000000000 +0200
++++ vim-perl-support-4.13/plugin/perl-support.vim	2011-09-14 17:47:04.000000000 +0200
+@@ -145,7 +145,7 @@ else
+ 		let s:Perl_GlobalTemplateFile	= s:Perl_GlobalTemplateDir.'/Templates'
+ 	endif
+ 	"
+-	let s:Perl_LocalTemplateFile		= s:plugin_dir.'/perl-support/templates/Templates'
++	let s:Perl_LocalTemplateFile		= $HOME.'/perl-support/templates/Templates'
+ 	let s:Perl_LocalTemplateDir			= fnamemodify( s:Perl_LocalTemplateFile, ":p:h" ).'/'
+ 	let s:Perl_CodeSnippets  				= s:plugin_dir.'/perl-support/codesnippets/'
+ 	let s:escfilename   						= ' \%#[]'
diff --git a/vim-perl-support.spec b/vim-perl-support.spec
index 5db4a07..c2c1dbd 100644
--- a/vim-perl-support.spec
+++ b/vim-perl-support.spec
@@ -1,5 +1,5 @@
 Name:           vim-perl-support
-Version:        4.12
+Version:        4.13
 Release:        1%{?dist}
 Summary:        Perl-IDE for VIM
 
@@ -7,8 +7,11 @@ Group:          Applications/Editors
 # according to plugin/perl-support.vim
 License:        GPLv2
 URL:            http://www.vim.org/scripts/script.php?script_id=556
-# curl -o perl-support-4.12.zip 'http://vim.sourceforge.net/scripts/download_script.php?src_id=15962'
+# curl -o perl-support-4.13.zip 'http://vim.sourceforge.net/scripts/download_script.php?src_id=16507'
 Source0:        perl-support-%{version}.zip
+# see http://lug.fh-swf.de/cgi-bin/mailman/private/vim-plugins-list/2011-August/000189.html
+# (list subscribers only)
+Patch0:         vim-perl-support-4.13-local-template.patch
 
 BuildArch:      noarch
 
@@ -56,6 +59,7 @@ profiler can be done with a keystroke.
 
 %prep
 %setup -q -c
+%patch0 -p1
 
 
 %build
@@ -111,10 +115,15 @@ exit 0
 %{vimfiles}/autoload/*.vim
 %{vimfiles}/doc/perlsupport.txt
 %{vimfiles}/ftplugin/perl.vim
+%{vimfiles}/ftplugin/pod.vim
 %{vimfiles}/plugin/perl-support.vim
 
 
 %changelog
+* Wed Sep 14 2011 Iain Arnell <iarnell at gmail.com> 4.13-1
+- update to latest upstream version
+- patch to fix handling of local templates
+
 * Fri Jun 24 2011 Iain Arnell <iarnell at gmail.com> 4.12-1
 - update to latest upstream version
 - update filtering for rpm 4.9


More information about the scm-commits mailing list