wine/get-sources.sh
Marcus Meissner 05af62d774 Accepting request 1242308 from home:rhabacker:branches:Emulators
- Add debug symbols for cross compiled binaries as separate
  package (boo#1236187)
- Fix warning 'non-standard-group Unspecified'
- Remove duplicated entry from changelog

OBS-URL: https://build.opensuse.org/request/show/1242308
OBS-URL: https://build.opensuse.org/package/show/Emulators/wine?expand=0&rev=1183
2025-02-03 10:30:48 +00:00

27 lines
795 B
Bash

#!/usr/bin/sh
set -e
if [[ -z "$1" ]]; then
echo "Please enter the version you want to update to";
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: '${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
echo "++++++++++++++++++++++++++++++++++++++++++++++"
echo "Done! Have fun building and testing"
echo "++++++++++++++++++++++++++++++++++++++++++++++"