diff --git a/libvirt.spec b/libvirt.spec index bd2e970..765fa17 100644 --- a/libvirt.spec +++ b/libvirt.spec @@ -1216,6 +1216,12 @@ Any empty package encapsulating requirements for a libvirtd capable of managing VirtualBox. EOF %endif +%if %{with_xen} || %{with_libxl} +cat > $RPM_BUILD_ROOT%{_docdir}/libvirt/libvirt-daemon-xen.README << 'EOF' +Any empty package encapsulating requirements for a libvirtd capable +of managing Xen. +EOF +%endif %if ! %{with_sanlock} rm -f $RPM_BUILD_ROOT%{_datadir}/augeas/lenses/libvirt_sanlock.aug rm -f $RPM_BUILD_ROOT%{_datadir}/augeas/lenses/tests/test_libvirt_sanlock.aug @@ -1504,6 +1510,8 @@ fi %defattr(-, root, root) %dir %{_libdir}/%{name}/connection-driver %{_libdir}/%{name}/connection-driver/libvirt_driver_libxl.so +%dir %attr(0700, root, root) %{_localstatedir}/lib/libvirt/libxl/ +%dir %attr(0700, root, root) %{_localstatedir}/log/libvirt/libxl/ %endif %if %{with_vbox} @@ -1556,8 +1564,7 @@ fi %files daemon-xen %defattr(-, root, root) -%dir %attr(0700, root, root) %{_localstatedir}/lib/libvirt/libxl/ -%dir %attr(0700, root, root) %{_localstatedir}/log/libvirt/libxl/ +%doc %{_docdir}/%{name}/libvirt-daemon-xen.README %endif %if %{with_vbox}