aarch64ilp32: Let rpmbuild run without checking build dependencies sandbox/lstelmach/aarch64ilp32
authorŁukasz Stelmach <l.stelmach@samsung.com>
Fri, 16 May 2025 15:20:21 +0000 (17:20 +0200)
committerŁukasz Stelmach <l.stelmach@samsung.com>
Fri, 16 May 2025 15:25:25 +0000 (17:25 +0200)
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 <l.stelmach@samsung.com>
build-recipe-spec

index 735b57e9a2eaf0a5e877675bf18f01042364fa01..33173fd5e8cf36c21802ec1c5508b9727c411bb1 100644 (file)
@@ -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"