This commit is contained in:
parent
b494ba4745
commit
572d12104f
@ -8,12 +8,15 @@ exit 1;
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
VERSION="$1"
|
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 "++++++++++++++++++++++++++++++++++++++++++++++"
|
||||||
echo "patching spec file and downloading the tarball"
|
echo "patching spec file and downloading the tarball"
|
||||||
echo "++++++++++++++++++++++++++++++++++++++++++++++"
|
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
|
osc service mr download_files
|
||||||
sed -i -e "s|tags/v.*<|tags/v${VERSION}<|g" _service
|
sed -i -e "s|tags/v.*<|tags/v${VERSION}<|g" _service
|
||||||
osc service dr
|
osc service dr
|
||||||
|
@ -36,7 +36,7 @@
|
|||||||
|
|
||||||
%define _lto_cflags %{nil}
|
%define _lto_cflags %{nil}
|
||||||
Name: wine%{psuffix}
|
Name: wine%{psuffix}
|
||||||
%define downloadver 10.0-rc1
|
%define downloadver 10.0-rc1
|
||||||
Version: 10.0~rc1
|
Version: 10.0~rc1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: An MS Windows Emulator
|
Summary: An MS Windows Emulator
|
||||||
|
Loading…
x
Reference in New Issue
Block a user