mirror of
https://github.com/libvirt/libvirt.git
synced 2026-10-02 12:20:06 -05:00
Revert "rpm: disable sanlock when QEMU is disabled"
This reverts commit fefde61758.
The commit was mistaken, as sanlock is enabled for libxl too,
however, the install of test_libvirt_sanlock.aug was missing
when QEMU was disabled, causing the RPM build failure.
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
1 parent
fcfd6f12c5
commit
cfed8b9e55
1 file changed
+2
-2
+2
-2
@@ -149,11 +149,11 @@
|
||||
# Enable sanlock library for lock management with QEMU
|
||||
# Sanlock is available only on arches where kvm is available for RHEL
|
||||
%if 0%{?fedora}
|
||||
%define with_sanlock 0%{!?_without_sanlock:%{with_qemu}}
|
||||
%define with_sanlock 0%{!?_without_sanlock:1}
|
||||
%endif
|
||||
%if 0%{?rhel}
|
||||
%ifarch %{arches_qemu_kvm}
|
||||
%define with_sanlock 0%{!?_without_sanlock:%{with_qemu}}
|
||||
%define with_sanlock 0%{!?_without_sanlock:1}
|
||||
%endif
|
||||
%endif
|
||||
|
||||
|
||||
Reference in new issue
Block a user