From 9fdc33612671c19c690936c6a486293c2be1a423589d7130f58a089696de218a Mon Sep 17 00:00:00 2001 From: James Fehlig Date: Tue, 17 May 2011 17:39:57 +0000 Subject: [PATCH] - Enable cap_ng when building lxc support. OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=121 --- libvirt.changes | 5 +++++ libvirt.spec | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/libvirt.changes b/libvirt.changes index 1507f59..f8ae449 100644 --- a/libvirt.changes +++ b/libvirt.changes @@ -3,6 +3,11 @@ Mon May 15 15:53:21 MDT 2011 - jfehlig@suse.de - Remove vi_VN locale if suse_version < 11.3 +------------------------------------------------------------------- +Thu May 12 13:40:09 UTC 2011 - fcrozat@suse.com + +- Enable cap_ng when building lxc support. + ------------------------------------------------------------------- Thu May 5 19:01:54 MDT 2011 - jfehlig@suse.de diff --git a/libvirt.spec b/libvirt.spec index db27ec8..f6d8c8a 100644 --- a/libvirt.spec +++ b/libvirt.spec @@ -126,8 +126,9 @@ %define with_hal 0%{!?_without_hal:%{server_drivers}} %endif -# libcapng is used to manage capabilities in 11.3 or newer -%if 0%{?suse_version} >= 1130 +# libcapng is used to manage capabilities in 11.3 or newer. +# It is also used by lxc and needs to be enabled if lxc is enabled. +%if 0%{?suse_version} >= 1130 || %{with_lxc} %define with_capng 0%{!?_without_capng:1} %endif