test_libvirt_sanlock.aug is dependent on WITH_QEMU in meson config
Signed-off-by: Cole Robinson <crobinso@redhat.com>
---
libvirt.spec.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libvirt.spec.in b/libvirt.spec.in
index aff2707705..7cb558770f 100644
--- a/libvirt.spec.in
+++ b/libvirt.spec.in
@@ -2444,13 +2444,13 @@ exit 0
%files daemon-plugin-sanlock
%if %{with_qemu}
%config(noreplace) %{_sysconfdir}/libvirt/qemu-sanlock.conf
+%{_datadir}/augeas/lenses/tests/test_libvirt_sanlock.aug
%endif
%if %{with_libxl}
%config(noreplace) %{_sysconfdir}/libvirt/libxl-sanlock.conf
%endif
%attr(0755, root, root) %{_libdir}/libvirt/lock-driver/sanlock.so
%{_datadir}/augeas/lenses/libvirt_sanlock.aug
-%{_datadir}/augeas/lenses/tests/test_libvirt_sanlock.aug
%dir %attr(0770, root, sanlock) %{_localstatedir}/lib/libvirt/sanlock
%{_sbindir}/virt-sanlock-cleanup
%{_mandir}/man8/virt-sanlock-cleanup.8*
--
2.51.0
On Wed, Oct 01, 2025 at 02:26:53PM -0400, Cole Robinson via Devel wrote: > test_libvirt_sanlock.aug is dependent on WITH_QEMU in meson config > > Signed-off-by: Cole Robinson <crobinso@redhat.com> > --- > libvirt.spec.in | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) This looks like a duplicate of the bug I was fixing but in a different way: https://lists.libvirt.org/archives/list/devel@lists.libvirt.org/thread/IFKRFBWS267IHPQKFBT6TYTMO6B5U7QI/ > > diff --git a/libvirt.spec.in b/libvirt.spec.in > index aff2707705..7cb558770f 100644 > --- a/libvirt.spec.in > +++ b/libvirt.spec.in > @@ -2444,13 +2444,13 @@ exit 0 > %files daemon-plugin-sanlock > %if %{with_qemu} > %config(noreplace) %{_sysconfdir}/libvirt/qemu-sanlock.conf > +%{_datadir}/augeas/lenses/tests/test_libvirt_sanlock.aug > %endif > %if %{with_libxl} > %config(noreplace) %{_sysconfdir}/libvirt/libxl-sanlock.conf > %endif > %attr(0755, root, root) %{_libdir}/libvirt/lock-driver/sanlock.so > %{_datadir}/augeas/lenses/libvirt_sanlock.aug > -%{_datadir}/augeas/lenses/tests/test_libvirt_sanlock.aug > %dir %attr(0770, root, sanlock) %{_localstatedir}/lib/libvirt/sanlock > %{_sbindir}/virt-sanlock-cleanup > %{_mandir}/man8/virt-sanlock-cleanup.8* > -- > 2.51.0 > With regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
On Wed, Oct 01, 2025 at 02:26:53PM -0400, Cole Robinson via Devel wrote: >test_libvirt_sanlock.aug is dependent on WITH_QEMU in meson config > Makes sense, Reviewed-by: Martin Kletzander <mkletzan@redhat.com> >Signed-off-by: Cole Robinson <crobinso@redhat.com> >--- > libvirt.spec.in | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/libvirt.spec.in b/libvirt.spec.in >index aff2707705..7cb558770f 100644 >--- a/libvirt.spec.in >+++ b/libvirt.spec.in >@@ -2444,13 +2444,13 @@ exit 0 > %files daemon-plugin-sanlock > %if %{with_qemu} > %config(noreplace) %{_sysconfdir}/libvirt/qemu-sanlock.conf >+%{_datadir}/augeas/lenses/tests/test_libvirt_sanlock.aug > %endif > %if %{with_libxl} > %config(noreplace) %{_sysconfdir}/libvirt/libxl-sanlock.conf > %endif > %attr(0755, root, root) %{_libdir}/libvirt/lock-driver/sanlock.so > %{_datadir}/augeas/lenses/libvirt_sanlock.aug >-%{_datadir}/augeas/lenses/tests/test_libvirt_sanlock.aug > %dir %attr(0770, root, sanlock) %{_localstatedir}/lib/libvirt/sanlock > %{_sbindir}/virt-sanlock-cleanup > %{_mandir}/man8/virt-sanlock-cleanup.8* >-- >2.51.0 >
© 2016 - 2025 Red Hat, Inc.