- For unknown reasons the appliance build fails randomly

Workaround it by retrying the build once

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=472
This commit is contained in:
Olaf Hering 2021-05-28 10:52:28 +00:00 committed by Git OBS Bridge
parent 80874171af
commit 7a68e494ff
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri May 28 10:20:30 UTC 2021 - ohering@suse.de
- For unknown reasons the appliance build fails randomly
Workaround it by retrying the build once
-------------------------------------------------------------------
Tue Apr 13 13:13:13 UTC 2021 - ohering@suse.de

View File

@ -608,10 +608,14 @@ export HAVE_PACMAN_FALSE="#"
#Workaround an autotools bug
make -j1 -C builder index-parse.c
# 'INSTALLDIRS' ensures that perl libs are installed in the vendor dir instead of the site dir
build_it() {
make \
INSTALLDIRS=vendor \
LD_RUN_PATH= \
%{?_smp_mflags}
"$@"
}
build_it %{?_smp_mflags} || build_it
%install
%makeinstall \