Files like libvirt.conf influence the behavior of the library itself. The daemon depends on the library, so the directory is guaranteed to be present both on the client side and on the server side. Signed-off-by: Andrea Bolognani <abologna@xxxxxxxxxx> --- libvirt.spec.in | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libvirt.spec.in b/libvirt.spec.in index 0e6cd13bb2..58c2fafac6 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -1651,8 +1651,6 @@ exit 0 %files daemon -%dir %attr(0700, root, root) %{_sysconfdir}/libvirt/ - %{_unitdir}/libvirtd.service %{_unitdir}/libvirtd.socket %{_unitdir}/libvirtd-ro.socket @@ -2019,6 +2017,7 @@ exit 0 %files libs -f %{name}.lang %license COPYING COPYING.LESSER +%dir %attr(0700, root, root) %{_sysconfdir}/libvirt/ %config(noreplace) %{_sysconfdir}/libvirt/libvirt.conf %config(noreplace) %{_sysconfdir}/libvirt/libvirt-admin.conf %{_libdir}/libvirt.so.* -- 2.34.1