test_libvirt_lockd.aug is only generated when qemu driver is enabled.
Signed-off-by: Jiri Denemark <jdenemar(a)redhat.com>
---
libvirt.spec.in | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libvirt.spec.in b/libvirt.spec.in
index 84d5bf3..ae40e0e 100644
--- a/libvirt.spec.in
+++ b/libvirt.spec.in
@@ -1878,7 +1878,9 @@ exit 0
%{_datadir}/augeas/lenses/virtlockd.aug
%{_datadir}/augeas/lenses/tests/test_virtlockd.aug
%{_datadir}/augeas/lenses/libvirt_lockd.aug
+ %if %{with_qemu}
%{_datadir}/augeas/lenses/tests/test_libvirt_lockd.aug
+ %endif
%if %{with_polkit}
%if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
--
1.9.2