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/