From eca45f4a3ff30b78f88541181449e36fd6eb1fe0 Mon Sep 17 00:00:00 2001 From: Daniel Veillard Date: Wed, 26 Nov 2008 09:07:34 +0000 Subject: [PATCH] libvirt-0.5.0 upstream release, Daniel --- libvirt.spec | 24 ++++++++++++++++++++---- python_make.patch | 35 ----------------------------------- sources | 2 +- 3 files changed, 21 insertions(+), 40 deletions(-) delete mode 100644 python_make.patch diff --git a/libvirt.spec b/libvirt.spec index 591c3b9..6ae1a4c 100644 --- a/libvirt.spec +++ b/libvirt.spec @@ -10,6 +10,7 @@ %define with_polkit 0%{!?_without_polkit:0} %define with_python 0%{!?_without_python:1} %define with_libvirtd 0%{!?_without_libvirtd:1} +%define with_uml 0%{!?_without_uml:1} # Xen is available only on i386 x86_64 ia64 %ifnarch i386 i686 x86_64 ia64 @@ -33,12 +34,11 @@ Summary: Library providing a simple API virtualization Name: libvirt -Version: 0.4.6 -Release: 3%{?dist}%{?extra_release} +Version: 0.5.0 +Release: 1%{?dist}%{?extra_release} License: LGPLv2+ Group: Development/Libraries Source: libvirt-%{version}.tar.gz -Patch0: python_make.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root URL: http://libvirt.org/ BuildRequires: python python-devel @@ -48,6 +48,8 @@ Requires: ncurses Requires: dnsmasq Requires: bridge-utils Requires: iptables +# needed for device enumeration +Requires: hal # So remote clients can access libvirt over SSH tunnel # (client invokes 'nc' against the UNIX socket on the server) Requires: nc @@ -89,6 +91,7 @@ BuildRequires: readline-devel BuildRequires: ncurses-devel BuildRequires: gettext BuildRequires: gnutls-devel +BuildRequires: hal-devel %if %{with_avahi} BuildRequires: avahi-devel %endif @@ -160,7 +163,6 @@ of recent versions of Linux (and other OSes). %prep %setup -q -%patch0 -p0 %build %if ! %{with_xen} @@ -199,6 +201,10 @@ of recent versions of Linux (and other OSes). %define _without_libvirtd --without-libvirtd %endif +%if ! %{with_uml} +%define _without_uml --without-uml +%endif + %configure %{?_without_xen} \ %{?_without_qemu} \ %{?_without_openvz} \ @@ -208,6 +214,7 @@ of recent versions of Linux (and other OSes). %{?_without_polkit} \ %{?_without_python} \ %{?_without_libvirtd} \ + %{?_without_uml} \ --with-init-script=redhat \ --with-qemud-pid-file=%{_localstatedir}/run/libvirt_qemud.pid \ --with-remote-file=%{_localstatedir}/run/libvirtd.pid @@ -396,6 +403,15 @@ fi %endif %changelog +* Wed Nov 26 2008 Daniel Veillard - 0.5.0-1.fc10 +- upstream release 0.5.0 +- domain lifecycle event support +- node device enumeration +- KVM/QEmu migration support +- improved LXC support +- SDL display configuration +- User Mode Linux driver (Daniel Berrange) + * Wed Sep 24 2008 Daniel Veillard - 0.4.6-3.fc10 - apply the python makefile patch for #463733 diff --git a/python_make.patch b/python_make.patch deleted file mode 100644 index d451524..0000000 --- a/python_make.patch +++ /dev/null @@ -1,35 +0,0 @@ -Index: python/Makefile.am -=================================================================== -RCS file: /data/cvs/libxen/python/Makefile.am,v -retrieving revision 1.13 -diff -u -p -r1.13 Makefile.am ---- python/Makefile.am 5 Feb 2008 19:27:37 -0000 1.13 -+++ python/Makefile.am 24 Sep 2008 13:21:06 -0000 -@@ -50,7 +50,7 @@ GENERATED= libvirt-export.c \ - $(GENERATED): $(srcdir)/$(GENERATE) $(API_DESC) - $(PYTHON) $(srcdir)/$(GENERATE) $(srcdir) - --libvirt.py: $(srcdir)/libvir.py libvirtclass.py -+libvirt.py: $(srcdir)/libvir.py $(GENERATED) - cat $(srcdir)/libvir.py libvirtclass.py > $@-t - mv $@-t $@ - -*** python/Makefile.in.orig 2008-09-24 15:19:20.000000000 +0200 ---- python/Makefile.in 2008-09-24 15:20:07.000000000 +0200 -*************** uninstall-am: uninstall-local uninstall- -*** 1027,1033 **** - @WITH_PYTHON_TRUE@$(GENERATED): $(srcdir)/$(GENERATE) $(API_DESC) - @WITH_PYTHON_TRUE@ $(PYTHON) $(srcdir)/$(GENERATE) $(srcdir) - -! @WITH_PYTHON_TRUE@libvirt.py: $(srcdir)/libvir.py libvirtclass.py - @WITH_PYTHON_TRUE@ cat $(srcdir)/libvir.py libvirtclass.py > $@-t - @WITH_PYTHON_TRUE@ mv $@-t $@ - ---- 1027,1033 ---- - @WITH_PYTHON_TRUE@$(GENERATED): $(srcdir)/$(GENERATE) $(API_DESC) - @WITH_PYTHON_TRUE@ $(PYTHON) $(srcdir)/$(GENERATE) $(srcdir) - -! @WITH_PYTHON_TRUE@libvirt.py: $(srcdir)/libvir.py $(GENERATED) - @WITH_PYTHON_TRUE@ cat $(srcdir)/libvir.py libvirtclass.py > $@-t - @WITH_PYTHON_TRUE@ mv $@-t $@ - diff --git a/sources b/sources index 7efa881..2c649a8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -abdf727deaffd868172f7243eb75ffe3 libvirt-0.4.6.tar.gz +9242e0be2957f3fd001fbb07cb4bbca5 libvirt-0.5.0.tar.gz