From: Erik Skultety Date: Thu, 24 Aug 2023 13:49:19 +0000 (+0200) Subject: ci: build.sh: Add a wrapper function over the 'rpmbuild' job X-Git-Tag: v9.8.0-rc1~127 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da0a354476c562617031e2bfa5e0bd6deaaf70c0;p=thirdparty%2Flibvirt.git ci: build.sh: Add a wrapper function over the 'rpmbuild' job This helper is a shell function transcript of its original GitLab CI counterpart. Signed-off-by: Erik Skultety Reviewed-by: Daniel P. Berrangé --- diff --git a/ci/build.sh b/ci/build.sh index da3f6b20fc..ffcd5385ff 100644 --- a/ci/build.sh +++ b/ci/build.sh @@ -76,3 +76,12 @@ run_potfile() { run_build } + +run_rpmbuild() { + run_dist + run_cmd rpmbuild \ + --clean \ + --nodeps \ + --define "_without_mingw 1" \ + -ta build/meson-dist/libvirt-*.tar.xz +}