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