From f13fb18c583e59e34c2f416bb9f8fa644e7fb374 Mon Sep 17 00:00:00 2001 From: Daniel Veillard Date: Thu, 17 Feb 2011 12:29:20 +0800 Subject: [PATCH] Release of libvirt-0.8.8 upstream - expose new API for sysinfo extraction - cgroup blkio weight support - smartcard device support - qemu: Support per-device boot ordering - Various improvements and bug fixes Daniel --- libvirt.spec | 23 ++++++++++++++++++++--- sources | 2 +- 2 files changed, 21 insertions(+), 4 deletions(-) diff --git a/libvirt.spec b/libvirt.spec index d751b85..7de0c8e 100644 --- a/libvirt.spec +++ b/libvirt.spec @@ -203,8 +203,8 @@ Summary: Library providing a simple virtualization API Name: libvirt -Version: 0.8.7 -Release: 2%{?dist}%{?extra_release} +Version: 0.8.8 +Release: 1%{?dist}%{?extra_release} License: LGPLv2+ Group: Development/Libraries Source: http://libvirt.org/sources/libvirt-%{version}.tar.gz @@ -592,6 +592,13 @@ of recent versions of Linux (and other OSes). %define _without_dtrace --without-dtrace %endif +%define when %(date +"%%F-%%T") +%define where %(hostname) +%define who %{?packager}%{!?packager:Unknown} +%define with_packager --with-packager="%{who}, %{when}, %{where}" +%define with_packager_version --with-packager-version="%{release}" + + %configure %{?_without_xen} \ %{?_without_qemu} \ %{?_without_openvz} \ @@ -626,6 +633,8 @@ of recent versions of Linux (and other OSes). %{?_without_macvtap} \ %{?_without_audit} \ %{?_without_dtrace} \ + %{with_packager} \ + %{with_packager_version} \ --with-qemu-user=%{qemu_user} \ --with-qemu-group=%{qemu_group} \ --with-init-script=redhat \ @@ -775,7 +784,8 @@ fi /sbin/ldconfig /sbin/chkconfig --add libvirt-guests if [ $1 -ge 1 ]; then - if /sbin/chkconfig --list libvirt-guests | /bin/grep -q :on ; then + level=$(/sbin/runlevel | /bin/cut -d ' ' -f 2) + if /sbin/chkconfig --list libvirt-guests | /bin/grep -q $level:on ; then # this doesn't do anything but allowing for libvirt-guests to be # stopped on the first shutdown /sbin/service libvirt-guests start > /dev/null 2>&1 || true @@ -963,6 +973,13 @@ fi %endif %changelog +* Thu Feb 17 2011 Daniel Veillard - 0.8.8-1 +- expose new API for sysinfo extraction +- cgroup blkio weight support +- smartcard device support +- qemu: Support per-device boot ordering +- Various improvements and bug fixes + * Tue Feb 08 2011 Fedora Release Engineering - 0.8.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild diff --git a/sources b/sources index 72de68a..42512b8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -596bafb53bb6c079a0703f1726cb2305 libvirt-0.8.7.tar.gz +ac9235576352b84b8cb17df7456bbdfc libvirt-0.8.8.tar.gz