]> git.pld-linux.org Git - packages/vim.git/blobdiff - update-source.sh
Provide vim-syntax-gitcommit to ease upgrading
[packages/vim.git] / update-source.sh
index c8f31f03b3a7839b4839a24ffcfa6b94ffc61877..9ef41e4eee5e1d382797e1f29075f198852a888e 100755 (executable)
@@ -22,7 +22,7 @@ fi
 
 pkg=vim
 specfile=$pkg.spec
-basever=7.3
+basever=7.4
 baseurl=ftp://ftp.vim.org/pub/editors/vim/patches/$basever
 sources=ftp://ftp.vim.org/pub/editors/vim/patches/$basever/MD5SUMS
 
@@ -58,6 +58,7 @@ if [ "$curver" != "$ver" ]; then
        fi
        sed -i -e "
                s/^\(%define[ \t]\+patchlevel[ \t]\+\)[0-9]\+\$/\1$patch/
+               s/^\(%define[ \t]\+rel[ \t]\+\)[0-9]\+\$/\11/
        " $specfile
 
        # fetch missing/mismatching files manually. faster than builder does that
This page took 0.037573 seconds and 4 git commands to generate.