Browse Source

upgrading package: vim 7.1.1 -> 7.1.2

Ralf S. Engelschall 18 years ago
parent
commit
4b01f2760d
1 changed files with 5 additions and 4 deletions
  1. 5 4
      vim/vim.spec

+ 5 - 4
vim/vim.spec

@@ -25,7 +25,7 @@
 #   package versions
 %define       V_vl  7.1
 %define       V_vs  71
-%define       V_pl  1
+%define       V_pl  2
 
 #   package information
 Name:         vim
@@ -38,7 +38,7 @@ Class:        CORE
 Group:        Editor
 License:      Charityware
 Version:      %{V_vl}.%{V_pl}
-Release:      20070515
+Release:      20070517
 
 #   package options
 %option       with_x11        no
@@ -55,6 +55,7 @@ Source2:      rc.vim
 Source3:      vimrc
 Patch0:       vim.patch
 Patch1:       ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.001
+Patch2:       ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.002
 
 #   build information
 Prefix:       %{l_prefix}
@@ -100,9 +101,9 @@ AutoReqProv:  no
         regex     = vim-(\d+.\d+)\.tar\.(gz|bz2)
     }
     prog vim:patchlevel = {
-        version   = %{V_vl}.%{V_pl}
+        version   = %{V_vl}.00%{V_pl}
         url       = ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/
-        regex     = (\d+\.\d+\.\d+)
+        regex     = (%{V_vl}\.\d+)
     }
 
 %prep