From da0a354476c562617031e2bfa5e0bd6deaaf70c0 Mon Sep 17 00:00:00 2001 From: Erik Skultety Date: Thu, 24 Aug 2023 15:49:19 +0200 Subject: [PATCH] ci: build.sh: Add a wrapper function over the 'rpmbuild' job MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This helper is a shell function transcript of its original GitLab CI counterpart. Signed-off-by: Erik Skultety Reviewed-by: Daniel P. Berrangé --- ci/build.sh | 9 +++++++++ 1 file changed, 9 insertions(+) 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 +} -- 2.47.2