commit 1ab2955219e0d4daed17e6933d88837d2655a345
Author: Sérgio M. Basto <sergio(a)serjux.com>
Date: Tue Jun 9 20:29:40 2020 +0100
Update helper script
update_vbox.sh | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/update_vbox.sh b/update_vbox.sh
index 2e75efd..f9c160f 100755
--- a/update_vbox.sh
+++ b/update_vbox.sh
@@ -1,7 +1,7 @@
VERSION=6.1.10
-REL=1
+REL=2
RAWHIDE=33
-REPOS="f32 f31 f30 el7"
+REPOS="f32 f31 el7"
if [ -z "$1" ]
then
stage=0
@@ -14,9 +14,12 @@ then
echo STAGE 0
git checkout master
git pull
+if test $REL -eq 1
+then
rpmdev-bumpspec -n $VERSION -c "Update VBox to $VERSION" VirtualBox.spec
rm UserManual.pdf
spectool -g VirtualBox.spec
+fi
rfpkg srpm && copr-cli build sergiomb/vboxfor23
VirtualBox-$VERSION-$REL.fc$RAWHIDE.src.rpm
fi