rpms/vim/devel vim-update.sh,1.1,1.2

Karsten Hopp karsten at fedoraproject.org
Thu Jan 28 20:33:41 UTC 2010


Author: karsten

Update of /cvs/extras/rpms/vim/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv25785

Modified Files:
	vim-update.sh 
Log Message:
- update cvs checkout before doing anything, reset release


Index: vim-update.sh
===================================================================
RCS file: /cvs/extras/rpms/vim/devel/vim-update.sh,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- vim-update.sh	28 Jan 2010 20:14:29 -0000	1.1
+++ vim-update.sh	28 Jan 2010 20:33:41 -0000	1.2
@@ -10,6 +10,8 @@ ORIGPL=`grep "define patchlevel" vim.spe
 #ORIGPL=350
 PL=$ORIGPL
 
+cvs up -dAP
+
 while true; do
     PL=$((PL+1))
     PNAME="$MAJORVERSION.$PL"
@@ -31,6 +33,7 @@ while true; do
         sed -i -e "/patch$((PL-1)) -p0/a%patch$PL -p0" $SPEC
     fi
 done
+sed -i -e "/Release: /cRelease: 1%{dist}" $SPEC
 sed -i -e "s/define patchlevel $ORIGPL/define patchlevel $PL/" $SPEC
 sed -i -e "/\%changelog/a$CHLOG.$PL-1\n- patchlevel $PL\n" $SPEC
 wget ftp://ftp.vim.org/pub/vim/patches/$MAJORVERSION/README -O README.patches



More information about the scm-commits mailing list