使用obs编译时更换其中的一个依赖包

问题描述 :
使用本机构筑“obs build”编译tensorflow,报错:
[ 148s] Extracting Bazel installation…
[ 157s] Starting local Bazel server and connecting to it…
[ 167s] … still trying to connect to local Bazel server after 10 seconds …
[ 177s] … still trying to connect to local Bazel server after 20 seconds …
[ 182s] + extdir=
[ 182s] error: Bad exit status from /var/tmp/rpm-tmp.OZSKYa (%prep)
[ 182s]
[ 182s] RPM build errors:
[ 182s] Bad exit status from /var/tmp/rpm-tmp.OZSKYa (%prep)
[ 182s]
[ 182s] failed “build tensorflow.spec” at Thu Aug 1 15:45:34 UTC 2024.
输出error后得到:
[ 194s] /var/tmp/rpm-tmp.GJwU1o: line 63: 6464 Illegal instruction (core dumped) bazel --output_user_root=pwd/…/output_user_root info output_base
相关解决方法:

原本在本机运行bazel时,也会报错Illegal instruction,将bazel更换至链接后可以成功运行bazel。但是根据error的输出,好像obs里的bazel还未进行更换,请问我要如何单独对这一个包进行更换呢?
运行环境:
openEuler24.03 risc-v

目前有两种方法,一种是在网页端的Repositories添加你所需的软件源。
另一种方法是在meta文件里添加路径,如 https://build.tarsier-infra.isrc.ac.cn/projects/home:laokz:branches:openEuler:24.03/meta