[libvirt] [libvirt-sandbox][PATCH] configure: Require newer libvirt-glib

Michal Privoznik mprivozn at redhat.com
Fri Jun 19 11:28:56 UTC 2015


In the commit 68406aff new feature was introduced - users are allowed
to select the format of mounted host images. However, this uses some
libvirt-glib features that were introduced in the 0.2.1 release, e.g.
the symbol GVIR_CONFIG_DOMAIN_FILESYS_DRIVER_LOOP was introduced in
dbd063fe. So we must update the minimal required version of
libvirt-glib. At the same time, update it in the spec file too.

Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
---
 configure.ac            | 2 +-
 libvirt-sandbox.spec.in | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index ba5247a..9e88da0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -13,7 +13,7 @@ AM_SILENT_RULES([yes])
 GIO_UNIX_REQUIRED=2.28.0
 GOBJECT_REQUIRED=2.32.0
 LIBVIRT_REQUIRED=1.0.2
-LIBVIRT_GCONFIG_REQUIRED=0.1.8
+LIBVIRT_GCONFIG_REQUIRED=0.2.1
 LIBVIRT_GLIB_REQUIRED=0.1.7
 LIBVIRT_GOBJECT_REQUIRED=0.1.7
 GOBJECT_INTROSPECTION_REQUIRED=0.10.8
diff --git a/libvirt-sandbox.spec.in b/libvirt-sandbox.spec.in
index 7deadb2..bd7b0dd 100644
--- a/libvirt-sandbox.spec.in
+++ b/libvirt-sandbox.spec.in
@@ -20,7 +20,7 @@ License: LGPLv2+
 URL: http://libvirt.org/
 Source0: ftp://libvirt.org/libvirt/sandbox/%{name}-%{version}.tar.gz
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires: libvirt-gobject-devel >= 0.1.7
+BuildRequires: libvirt-gobject-devel >= 0.2.1
 BuildRequires: gobject-introspection-devel
 BuildRequires: glibc-static
 BuildRequires: /usr/bin/pod2man
-- 
2.3.6




More information about the libvir-list mailing list