update to 4.13

This commit is contained in:
Iain Arnell 2011-09-14 17:50:39 +02:00
commit cf615a9941
4 changed files with 25 additions and 3 deletions

1
.gitignore vendored
View file

@ -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

View file

@ -1 +1 @@
9e439724cae69e13f4ab05b97237ae62 perl-support-4.12.zip
d0d7a1b96e8553c34fc2daa1998a88a0 perl-support-4.13.zip

View file

@ -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 = ' \%#[]'

View file

@ -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@gmail.com> 4.13-1
- update to latest upstream version
- patch to fix handling of local templates
* Fri Jun 24 2011 Iain Arnell <iarnell@gmail.com> 4.12-1
- update to latest upstream version
- update filtering for rpm 4.9