From d9f0d1b206bfcbdfb3f0bb99855dcaa2c27c884b Mon Sep 17 00:00:00 2001 From: Daniel Veillard Date: Aug 22 2007 07:39:00 +0000 Subject: Update to 0.3.2, remove old patch, Daniel --- diff --git a/libvirt-qemu.patch b/libvirt-qemu.patch deleted file mode 100644 index 603d8cf..0000000 --- a/libvirt-qemu.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff -rup libvirt-0.3.1.orig/src/qemu_conf.c libvirt-0.3.1.new/src/qemu_conf.c ---- libvirt-0.3.1.orig/src/qemu_conf.c 2007-07-24 11:06:38.000000000 -0400 -+++ libvirt-0.3.1.new/src/qemu_conf.c 2007-07-26 10:22:09.000000000 -0400 -@@ -1088,6 +1088,10 @@ static struct qemud_vm_def *qemudParseXM - if ((obj == NULL) || (obj->type != XPATH_STRING) || - (obj->stringval == NULL) || (obj->stringval[0] == 0)) { - const char *defaultMachine = qemudDefaultMachineForArch(def->os.arch); -+ if (!defaultMachine) { -+ qemudReportError(conn, NULL, NULL, VIR_ERR_INTERNAL_ERROR, "unsupported arch %s", def->os.arch); -+ goto error; -+ } - if (strlen(defaultMachine) >= (QEMUD_OS_MACHINE_MAX_LEN-1)) { - qemudReportError(conn, NULL, NULL, VIR_ERR_INTERNAL_ERROR, "%s", "machine type too long"); - goto error; diff --git a/libvirt.spec b/libvirt.spec index 72c455f..7ee27ce 100644 --- a/libvirt.spec +++ b/libvirt.spec @@ -2,8 +2,8 @@ Summary: Library providing a simple API virtualization Name: libvirt -Version: 0.3.1 -Release: 2%{?dist}%{?extra_release} +Version: 0.3.2 +Release: 1%{?dist}%{?extra_release} License: LGPL Group: Development/Libraries Source: libvirt-%{version}.tar.gz @@ -24,7 +24,6 @@ BuildRequires: gettext BuildRequires: gnutls-devel Obsoletes: libvir ExclusiveArch: i386 x86_64 ia64 -Patch0: libvirt-qemu.patch %description Libvirt is a C toolkit to interract with the virtualization capabilities @@ -57,7 +56,6 @@ of recent versions of Linux (and other OSes). %prep %setup -q -%patch0 -p1 %build %configure --with-init-script=redhat --with-qemud-pid-file=%{_localstatedir}/run/libvirt_qemud.pid --with-remote-file=%{_localstatedir}/run/libvirtd.pid @@ -138,8 +136,8 @@ fi %dir %attr(0700, root, root) %{_localstatedir}/log/libvirt/qemu/ %attr(4755, root, root) %{_libexecdir}/libvirt_proxy %attr(0755, root, root) %{_sbindir}/libvirtd -%doc docs/libvirt.rng -%doc docs/network.rng +%doc docs/*.rng +%doc docs/*.xml %files devel %defattr(-, root, root) @@ -169,6 +167,13 @@ fi %doc docs/examples/python %changelog +* Tue Aug 21 2007 Daniel Veillard - 0.3.2-1.fc7 +- Release of 0.3.2 +- API for domains migration +- APIs for collecting statistics on disks and interfaces +- lots of assorted bugfixes and cleanups +- documentation and localization improvements + * Thu Jul 26 2007 Daniel Veillard - 0.3.1-2.fc7 - adds fix for bug #249594 diff --git a/sources b/sources index 011486d..013e98b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -9b8a2a917dbaa028dff9d7bb03ca36ae libvirt-0.3.1.tar.gz +8e6735446ae8a95cf47877725282d775 libvirt-0.3.2.tar.gz