[libvirt PATCH v2 11/35] ci: build.sh: Add a wrapper function over the 'rpmbuild' job

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This helper is a shell function transcript of its original GitLab CI
counterpart.

Signed-off-by: Erik Skultety <eskultet@xxxxxxxxxx>
Erik Skultety <eskultet@xxxxxxxxxx>:
---
 ci/build.sh | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/ci/build.sh b/ci/build.sh
index d6361f3ade..c558b4c9ca 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.41.0




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux