- Enable cap_ng when building lxc support.

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=121
This commit is contained in:
James Fehlig 2011-05-17 17:39:57 +00:00 committed by Git OBS Bridge
parent 9f9208881a
commit 9fdc336126
2 changed files with 8 additions and 2 deletions

View File

@ -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

View File

@ -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