mirror of https://gitee.com/openkylin/libvirt.git
spec: Install all schemas
The main spec file was missing basictypes.rng and mingw did not install cpu.rng. Let's just install all *.rng files in the schemas directory. Signed-off-by: Jiri Denemark <jdenemar@redhat.com> Reviewed-by: Peter Krempa <pkrempa@redhat.com>
This commit is contained in:
parent
3bf6f9fe22
commit
03df87ce0d
|
@ -1866,29 +1866,7 @@ exit 0
|
||||||
%dir %{_datadir}/libvirt/schemas/
|
%dir %{_datadir}/libvirt/schemas/
|
||||||
%dir %attr(0755, root, root) %{_localstatedir}/lib/libvirt/
|
%dir %attr(0755, root, root) %{_localstatedir}/lib/libvirt/
|
||||||
|
|
||||||
%{_datadir}/libvirt/schemas/basictypes.rng
|
%{_datadir}/libvirt/schemas/*.rng
|
||||||
%{_datadir}/libvirt/schemas/capability.rng
|
|
||||||
%{_datadir}/libvirt/schemas/cpu.rng
|
|
||||||
%{_datadir}/libvirt/schemas/cputypes.rng
|
|
||||||
%{_datadir}/libvirt/schemas/domain.rng
|
|
||||||
%{_datadir}/libvirt/schemas/domainbackup.rng
|
|
||||||
%{_datadir}/libvirt/schemas/domaincaps.rng
|
|
||||||
%{_datadir}/libvirt/schemas/domaincheckpoint.rng
|
|
||||||
%{_datadir}/libvirt/schemas/domaincommon.rng
|
|
||||||
%{_datadir}/libvirt/schemas/domainsnapshot.rng
|
|
||||||
%{_datadir}/libvirt/schemas/interface.rng
|
|
||||||
%{_datadir}/libvirt/schemas/network.rng
|
|
||||||
%{_datadir}/libvirt/schemas/networkcommon.rng
|
|
||||||
%{_datadir}/libvirt/schemas/networkport.rng
|
|
||||||
%{_datadir}/libvirt/schemas/nodedev.rng
|
|
||||||
%{_datadir}/libvirt/schemas/nwfilter.rng
|
|
||||||
%{_datadir}/libvirt/schemas/nwfilter_params.rng
|
|
||||||
%{_datadir}/libvirt/schemas/nwfilterbinding.rng
|
|
||||||
%{_datadir}/libvirt/schemas/secret.rng
|
|
||||||
%{_datadir}/libvirt/schemas/storagecommon.rng
|
|
||||||
%{_datadir}/libvirt/schemas/storagepool.rng
|
|
||||||
%{_datadir}/libvirt/schemas/storagepoolcaps.rng
|
|
||||||
%{_datadir}/libvirt/schemas/storagevol.rng
|
|
||||||
|
|
||||||
%{_datadir}/libvirt/cpu_map/*.xml
|
%{_datadir}/libvirt/cpu_map/*.xml
|
||||||
|
|
||||||
|
|
|
@ -227,28 +227,8 @@ rm -rf $RPM_BUILD_ROOT%{mingw64_libexecdir}/libvirt-guests.sh
|
||||||
|
|
||||||
%dir %{mingw32_datadir}/libvirt/
|
%dir %{mingw32_datadir}/libvirt/
|
||||||
%dir %{mingw32_datadir}/libvirt/schemas/
|
%dir %{mingw32_datadir}/libvirt/schemas/
|
||||||
%{mingw32_datadir}/libvirt/schemas/basictypes.rng
|
%{mingw32_datadir}/libvirt/schemas/*.rng
|
||||||
%{mingw32_datadir}/libvirt/schemas/capability.rng
|
|
||||||
%{mingw32_datadir}/libvirt/schemas/cputypes.rng
|
|
||||||
%{mingw32_datadir}/libvirt/schemas/domain.rng
|
|
||||||
%{mingw32_datadir}/libvirt/schemas/domainbackup.rng
|
|
||||||
%{mingw32_datadir}/libvirt/schemas/domaincaps.rng
|
|
||||||
%{mingw32_datadir}/libvirt/schemas/domaincheckpoint.rng
|
|
||||||
%{mingw32_datadir}/libvirt/schemas/domaincommon.rng
|
|
||||||
%{mingw32_datadir}/libvirt/schemas/domainsnapshot.rng
|
|
||||||
%{mingw32_datadir}/libvirt/schemas/interface.rng
|
|
||||||
%{mingw32_datadir}/libvirt/schemas/network.rng
|
|
||||||
%{mingw32_datadir}/libvirt/schemas/networkcommon.rng
|
|
||||||
%{mingw32_datadir}/libvirt/schemas/networkport.rng
|
|
||||||
%{mingw32_datadir}/libvirt/schemas/nodedev.rng
|
|
||||||
%{mingw32_datadir}/libvirt/schemas/nwfilter.rng
|
|
||||||
%{mingw32_datadir}/libvirt/schemas/nwfilter_params.rng
|
|
||||||
%{mingw32_datadir}/libvirt/schemas/nwfilterbinding.rng
|
|
||||||
%{mingw32_datadir}/libvirt/schemas/secret.rng
|
|
||||||
%{mingw32_datadir}/libvirt/schemas/storagecommon.rng
|
|
||||||
%{mingw32_datadir}/libvirt/schemas/storagepool.rng
|
|
||||||
%{mingw32_datadir}/libvirt/schemas/storagepoolcaps.rng
|
|
||||||
%{mingw32_datadir}/libvirt/schemas/storagevol.rng
|
|
||||||
%dir %{mingw32_datadir}/libvirt/api/
|
%dir %{mingw32_datadir}/libvirt/api/
|
||||||
%{mingw32_datadir}/libvirt/api/libvirt-api.xml
|
%{mingw32_datadir}/libvirt/api/libvirt-api.xml
|
||||||
%{mingw32_datadir}/libvirt/api/libvirt-lxc-api.xml
|
%{mingw32_datadir}/libvirt/api/libvirt-lxc-api.xml
|
||||||
|
|
Loading…
Reference in New Issue