mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
libvirt.spec: Move ownership of 'storage-file' backends directory to gluster
Commit f8558a87ac8525b16f4cbba4f24e0885fde2b79e de-modularized the 'storage-file' backend for local files, and thus now the only possibility to have the directory is when compiling with gluster. This breaks RPM builds when building without gluster as the backend directory no longer exists in such case. Move the stanza requiring the directory under the gluster driver declarations. Fixes: f8558a87ac8525b16f4cbba4f24e0885fde2b79e Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
This commit is contained in:
parent
4933dfcce0
commit
7a8c2319ac
@ -2098,7 +2098,6 @@ exit 0
|
||||
%dir %attr(0755, root, root) %{_libdir}/libvirt/
|
||||
%dir %attr(0755, root, root) %{_libdir}/libvirt/connection-driver/
|
||||
%dir %attr(0755, root, root) %{_libdir}/libvirt/storage-backend/
|
||||
%dir %attr(0755, root, root) %{_libdir}/libvirt/storage-file/
|
||||
%{_datadir}/polkit-1/actions/org.libvirt.unix.policy
|
||||
%{_datadir}/polkit-1/actions/org.libvirt.api.policy
|
||||
%{_datadir}/polkit-1/rules.d/50-libvirt.rules
|
||||
@ -2293,6 +2292,7 @@ exit 0
|
||||
%if %{with_storage_gluster}
|
||||
%files daemon-driver-storage-gluster
|
||||
%{_libdir}/libvirt/storage-backend/libvirt_storage_backend_gluster.so
|
||||
%dir %attr(0755, root, root) %{_libdir}/libvirt/storage-file/
|
||||
%{_libdir}/libvirt/storage-file/libvirt_storage_file_gluster.so
|
||||
%endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user