spec: better workaround for ppc
_None_ of %check phase commands may fail. Version: 3.1.2-5
This commit is contained in:
parent
bbde57d99f
commit
3518c10089
@ -113,14 +113,16 @@ run_testsuite()
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
run_testsuite
|
# On a ppc/ppc64 is some race condition causing 'make check' fail on ppc
|
||||||
|
# when both 32 and 64 builds are done in parallel on the same machine in
|
||||||
|
# koji. Try to run once again if failed.
|
||||||
%ifarch ppc
|
%ifarch ppc
|
||||||
# On a ppc/ppc64 is some race condition causing 'make check' fail on ppc
|
run_testsuite || run_testsuite
|
||||||
# when both 32 and 64 builds are done in parallel on the same machine in
|
%else
|
||||||
# koji. Try to run once again if failed.
|
run_testsuite
|
||||||
test $? -ne 0 && run_testsuite
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user