arch for rpm build

This commit is contained in:
John Smith 2023-09-15 16:31:28 -04:00 committed by Christien Rioux
parent c13135d389
commit 0c5b89a15e

View File

@ -10,4 +10,4 @@ cp -rf /veilid/package/rpm/veilid-server/veilid-server.spec /root/rpmbuild/SPECS
/veilid/package/replace_variable.sh /root/rpmbuild/SPECS/veilid-server.spec CARGO_ARCH $CARGO_ARCH /veilid/package/replace_variable.sh /root/rpmbuild/SPECS/veilid-server.spec CARGO_ARCH $CARGO_ARCH
# build the rpm # build the rpm
rpmbuild --target "x86_64" -bb /root/rpmbuild/SPECS/veilid-server.spec rpmbuild --target "$ARCH" -bb /root/rpmbuild/SPECS/veilid-server.spec