|
|
|
@@ -60,6 +60,7 @@
|
|
|
|
|
%define with_netcf 0%{!?_without_netcf:0}
|
|
|
|
|
%define with_udev 0%{!?_without_udev:0}
|
|
|
|
|
%define with_hal 0%{!?_without_hal:0}
|
|
|
|
|
%define with_yajl 0%{!?_without_yajl:0}
|
|
|
|
|
|
|
|
|
|
# Non-server/HV driver defaults which are always enabled
|
|
|
|
|
%define with_python 0%{!?_without_python:1}
|
|
|
|
@@ -141,6 +142,11 @@
|
|
|
|
|
%define with_hal 0%{!?_without_hal:%{server_drivers}}
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
# Enable yajl library for JSON mode with QEMU
|
|
|
|
|
%if 0%{?fedora} >= 13 || 0%{?rhel} >= 6
|
|
|
|
|
%define with_yajl 0%{!?_without_yajl:%{server_drivers}}
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
# Force QEMU to run as non-root
|
|
|
|
|
%if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
|
|
|
|
|
%define qemu_user qemu
|
|
|
|
@@ -162,7 +168,7 @@
|
|
|
|
|
|
|
|
|
|
Summary: Library providing a simple API virtualization
|
|
|
|
|
Name: libvirt
|
|
|
|
|
Version: 0.7.3
|
|
|
|
|
Version: 0.7.5
|
|
|
|
|
Release: 1%{?dist}%{?extra_release}
|
|
|
|
|
License: LGPLv2+
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
@@ -257,6 +263,9 @@ BuildRequires: hal-devel
|
|
|
|
|
BuildRequires: libudev-devel >= 145
|
|
|
|
|
BuildRequires: libpciaccess-devel >= 0.10.9
|
|
|
|
|
%endif
|
|
|
|
|
%if %{with_yajl}
|
|
|
|
|
BuildRequires: yajl-devel
|
|
|
|
|
%endif
|
|
|
|
|
%if %{with_avahi}
|
|
|
|
|
BuildRequires: avahi-devel
|
|
|
|
|
%endif
|
|
|
|
@@ -495,6 +504,10 @@ of recent versions of Linux (and other OSes).
|
|
|
|
|
%define _without_udev --without-udev
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%if ! %{with_yajl}
|
|
|
|
|
%define _without_yajl --without-yajl
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%configure %{?_without_xen} \
|
|
|
|
|
%{?_without_qemu} \
|
|
|
|
|
%{?_without_openvz} \
|
|
|
|
@@ -522,6 +535,7 @@ of recent versions of Linux (and other OSes).
|
|
|
|
|
%{?_without_selinux} \
|
|
|
|
|
%{?_without_hal} \
|
|
|
|
|
%{?_without_udev} \
|
|
|
|
|
%{?_without_yajl} \
|
|
|
|
|
--with-qemu-user=%{qemu_user} \
|
|
|
|
|
--with-qemu-group=%{qemu_group} \
|
|
|
|
|
--with-init-script=redhat \
|
|
|
|
@@ -696,9 +710,6 @@ fi
|
|
|
|
|
%if %{with_network}
|
|
|
|
|
%dir %{_localstatedir}/run/libvirt/network/
|
|
|
|
|
%dir %attr(0700, root, root) %{_localstatedir}/lib/libvirt/network/
|
|
|
|
|
%dir %attr(0700, root, root) %{_localstatedir}/lib/libvirt/iptables/
|
|
|
|
|
%dir %attr(0700, root, root) %{_localstatedir}/lib/libvirt/iptables/filter/
|
|
|
|
|
%dir %attr(0700, root, root) %{_localstatedir}/lib/libvirt/iptables/nat/
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%if %{with_qemu}
|
|
|
|
@@ -763,6 +774,8 @@ fi
|
|
|
|
|
%{_datadir}/libvirt/schemas/secret.rng
|
|
|
|
|
%{_datadir}/libvirt/schemas/storageencryption.rng
|
|
|
|
|
|
|
|
|
|
%{_datadir}/libvirt/cpu_map.xml
|
|
|
|
|
|
|
|
|
|
%if %{with_sasl}
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/sasl2/libvirt.conf
|
|
|
|
|
%endif
|
|
|
|
@@ -802,7 +815,15 @@ fi
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Nov 20 2009 Daniel Veillard <veillard@redhat.com> - 0.7.3-1
|
|
|
|
|
* Wed Dec 23 2009 Daniel Veillard <veillard@redhat.com> - 0.7.5-1
|
|
|
|
|
- Add new API virDomainMemoryStats
|
|
|
|
|
- Public API and domain extension for CPU flags
|
|
|
|
|
- vbox: Add support for version 3.1
|
|
|
|
|
- Support QEMU's virtual FAT block device driver
|
|
|
|
|
- a lot of fixes
|
|
|
|
|
|
|
|
|
|
* Fri Nov 20 2009 Daniel Veillard <veillard@redhat.com> - 0.7.4-1
|
|
|
|
|
- upstream release of 0.7.4
|
|
|
|
|
- udev node device backend
|
|
|
|
|
- API to check object properties
|
|
|
|
|
- better QEmu monitor processing
|
|
|
|
|