This commit is contained in:
parent
b494ba4745
commit
572d12104f
@ -8,12 +8,15 @@ exit 1;
|
||||
fi
|
||||
|
||||
VERSION="$1"
|
||||
# for the rc1 releases we translate 10.0-rc1 to 10.0~rc1 , as 10.0~x is < 10.0
|
||||
REALVERSION=`echo $1|sed -e's/-/~/';`
|
||||
|
||||
echo "++++++++++++++++++++++++++++++++++++++++++++++"
|
||||
echo "patching spec file and downloading the tarball"
|
||||
echo "++++++++++++++++++++++++++++++++++++++++++++++"
|
||||
|
||||
sed -i -e 's|Version: .*|Version: '${VERSION}'|g' wine.spec
|
||||
sed -i -e 's|Version: .*|Version: '${REALVERSION}'|g' wine.spec
|
||||
sed -i -e 's|downloadver .*|downloadver '${VERSION}'|g' wine.spec
|
||||
osc service mr download_files
|
||||
sed -i -e "s|tags/v.*<|tags/v${VERSION}<|g" _service
|
||||
osc service dr
|
||||
|
Loading…
Reference in New Issue
Block a user