- update cvs checkout before doing anything, reset release
This commit is contained in:
parent
e5abb0b81a
commit
9d2110c02a
@ -10,6 +10,8 @@ ORIGPL=`grep "define patchlevel" vim.spec | cut -d ' ' -f 3`
|
|||||||
#ORIGPL=350
|
#ORIGPL=350
|
||||||
PL=$ORIGPL
|
PL=$ORIGPL
|
||||||
|
|
||||||
|
cvs up -dAP
|
||||||
|
|
||||||
while true; do
|
while true; do
|
||||||
PL=$((PL+1))
|
PL=$((PL+1))
|
||||||
PNAME="$MAJORVERSION.$PL"
|
PNAME="$MAJORVERSION.$PL"
|
||||||
@ -31,6 +33,7 @@ while true; do
|
|||||||
sed -i -e "/patch$((PL-1)) -p0/a%patch$PL -p0" $SPEC
|
sed -i -e "/patch$((PL-1)) -p0/a%patch$PL -p0" $SPEC
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
sed -i -e "/Release: /cRelease: 1%{dist}" $SPEC
|
||||||
sed -i -e "s/define patchlevel $ORIGPL/define patchlevel $PL/" $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
|
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
|
wget ftp://ftp.vim.org/pub/vim/patches/$MAJORVERSION/README -O README.patches
|
||||||
|
Loading…
Reference in New Issue
Block a user