Commit 9df0fd25 authored by Frediano Ziglio's avatar Frediano Ziglio

copr: Fix build of initial SRPMS

- add missing package (meson);
- set a dummy username to make git commit work;
- workaround a problem with Meson and recursive modules.
Signed-off-by: Frediano Ziglio's avatarFrediano Ziglio <>
Acked-by: Snir Sheriber's avatarSnir Sheriber <>
parent 2727236d
......@@ -2,7 +2,7 @@
# See:
BUILD = xz git rpm-build
BUILD = xz git rpm-build meson
dnf install -y $(BUILD)
......@@ -18,10 +18,13 @@ srpm:
# set project version
sed -i -E "s/^( +version : )'[0-9\.]+'/\\1'$$(date +'%Y%m%d%H%M.spice.latest')'/"
git add
git config --local ""
git config --local "dummy"
git commit -m 'automatic version update'
# create source rpm
rm -rf build && mkdir build
git submodule update --init --recursive
meson . build --prefix=/usr --werror
if ! test -r ../spice-common.git; then DIR=`basename "$$PWD"`; ln -s "$$DIR/.git/modules/spice-common" ../spice-common.git; fi
ninja -C build dist
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment