mirror of https://gitee.com/openkylin/libvirt.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 <eskultet@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
07a8556076
commit
da0a354476
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue