mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +00:00
gitlab-ci.yml: Use $HOME for rpmbuild's topdir instead of PWD
Signed-off-by: Erik Skultety <eskultet@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
99cc3f7aa9
commit
1cd25886de
@ -30,8 +30,8 @@ include:
|
||||
- meson dist -C build --no-tests
|
||||
- if test -x /usr/bin/rpmbuild && test "$RPM" != "skip";
|
||||
then
|
||||
rpmbuild --clean --nodeps --define "_without_mingw 1" --define "_topdir $PWD/rpmbuild/" -ta build/meson-dist/libvirt-*.tar.xz;
|
||||
mv rpmbuild/RPMS/x86_64/ libvirt-rpms/;
|
||||
rpmbuild --clean --nodeps --define "_without_mingw 1" -ta build/meson-dist/libvirt-*.tar.xz;
|
||||
mv "$HOME"/rpmbuild/RPMS/x86_64/ libvirt-rpms/;
|
||||
else
|
||||
meson compile -C build;
|
||||
meson test -C build --no-suite syntax-check --print-errorlogs;
|
||||
|
Loading…
Reference in New Issue
Block a user