Browse Source

upgrade to 6.1.128 and remove of deps to gzip+patch

Ralf S. Engelschall 24 years ago
parent
commit
a5c1bb0930
1 changed files with 6 additions and 5 deletions
  1. 6 5
      vim/vim.spec

+ 6 - 5
vim/vim.spec

@@ -26,7 +26,7 @@
 #   package versions
 %define       V_vl  6.1
 %define       V_vs  61
-%define       V_pl  127
+%define       V_pl  128
 
 #   package options
 %ifndef       with_x11
@@ -43,7 +43,7 @@ Distribution: OpenPKG [REL]
 Group:        Editor
 License:      Charityware
 Version:      %{V_vl}.%{V_pl}
-Release:      20020713
+Release:      20020714
 
 #   list of sources
 Source0:      ftp://ftp.vim.org/pub/vim/unix/vim-%{V_vl}-src1.tar.gz
@@ -178,12 +178,13 @@ Patch124:     ftp://ftp.vim.org/pub/vim/patches/%{V_vl}.124
 Patch125:     ftp://ftp.vim.org/pub/vim/patches/%{V_vl}.125
 Patch126:     ftp://ftp.vim.org/pub/vim/patches/%{V_vl}.126
 Patch127:     ftp://ftp.vim.org/pub/vim/patches/%{V_vl}.127
+Patch128:     ftp://ftp.vim.org/pub/vim/patches/%{V_vl}.128
 
 #   build information
 Prefix:       %{l_prefix}
 BuildRoot:    %{l_buildroot}
-BuildPreReq:  OpenPKG, openpkg >= 20020206, gzip, patch
-PreReq:       OpenPKG, openpkg >= 20020206
+BuildPreReq:  OpenPKG, openpkg >= 20020714
+PreReq:       OpenPKG, openpkg >= 20020714
 %if "%{with_x11}" == "yes"
 BuildPreReq:  X11, gtk
 PreReq:       X11, gtk
@@ -207,7 +208,7 @@ AutoReqProv:  no
     i=1
     while [ $i -le %{V_pl} ]; do
         cat $RPM_SOURCE_DIR/%{V_vl}.`echo $i | awk '{ printf("%03d", $0); }'` |\
-        %{l_prefix}/bin/patch -p0 -E -t -s >/dev/null 2>&1 || true
+        %{l_patch} -p0 -E -t -s >/dev/null 2>&1 || true
         i=`expr $i + 1`
     done