From: Łukasz Stelmach Date: Fri, 16 May 2025 15:20:21 +0000 (+0200) Subject: aarch64ilp32: Let rpmbuild run without checking build dependencies X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Fsandbox%2Flstelmach%2Faarch64ilp32;p=tools%2Fbuild.git aarch64ilp32: Let rpmbuild run without checking build dependencies To bootrstrap Tizen on a new architecture (aarch64ilp32) it is convenient to run GBS using a scratch directory prepered with external tools like buildroot. This means most software required to build packages will be in the scratch directory but not as rpm packages. This commit should be applied manually and temporarily only on systems used to bootrsap Tizen on new architectures. Change-Id: I7ecb3077e2e4fd304d0b1e458b5325738fa6bf16 Signed-off-by: Łukasz Stelmach --- diff --git a/build-recipe-spec b/build-recipe-spec index 735b57e..33173fd 100644 --- a/build-recipe-spec +++ b/build-recipe-spec @@ -117,7 +117,7 @@ recipe_build_spec() { test "$BUILDTYPE" = debbuild && rpmbuild=debbuild # XXX: move _srcdefattr to macro file? - rpmbopts=("--define" "_srcdefattr (-,root,root)") + rpmbopts=("--nodeps" "--define" "_srcdefattr (-,root,root)") if test "$DO_CHECKS" != true ; then if chroot "$BUILD_ROOT" "$rpmbuild" --nocheck --help >/dev/null 2>&1; then rpmbopts[${#rpmbopts[@]}]="--nocheck"