From 44bce60516eb2934af61dd60365857b835dc03094200b5e66a95277b3665b495 Mon Sep 17 00:00:00 2001 From: James Fehlig Date: Tue, 5 Oct 2010 22:35:25 +0000 Subject: [PATCH] Accepting request 49818 from home:elvigia:branches:Virtualization Looks good. Thanks Cristian OBS-URL: https://build.opensuse.org/request/show/49818 OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=67 --- libvirt.changes | 6 ++++++ libvirt.spec | 9 ++++++++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/libvirt.changes b/libvirt.changes index 26593ac..6dafb24 100644 --- a/libvirt.changes +++ b/libvirt.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Oct 5 16:29:42 UTC 2010 - cristian.rodriguez@opensuse.org + +- Support dropping capabilities with cap-ng library in + openSUSE >= 11.3 + ------------------------------------------------------------------- Tue Sep 28 14:20:32 MDT 2010 - jfehlig@novell.com diff --git a/libvirt.spec b/libvirt.spec index c8f4d15..c8190c6 100644 --- a/libvirt.spec +++ b/libvirt.spec @@ -39,7 +39,11 @@ %define with_selinux 1 %define with_apparmor 0 # options -%define with_capng 0 +%if 0%{?suse_version} >= 1130 +%define with_capng 1 +%else +%define with_capng 0 +%endif %define with_netcf 0 %define with_udev 0 %define with_hal 0 @@ -118,6 +122,9 @@ BuildRequires: libnl-devel %if %{with_esx} BuildRequires: libcurl-devel %endif +%if %{with_capng} +BuildRequires: libcap-ng-devel +%endif # Only for directory ownership: BuildRequires: gtk-doc Url: http://libvirt.org/