]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
spec: Require libacl when building the QEMU driver
authorAndrea Bolognani <abologna@redhat.com>
Tue, 14 Feb 2017 13:42:54 +0000 (14:42 +0100)
committerAndrea Bolognani <abologna@redhat.com>
Tue, 14 Feb 2017 18:07:43 +0000 (19:07 +0100)
For the namespaces feature to work properly we need to be able
to make a perfect copy of the original /dev, including ACLs.

By adding a BuildRequires on libacl-devel we ensure that ACL
support will be enabled at configure time and made available
to the QEMU driver.

libvirt.spec.in

index e8c272bd73fb8c3443c9349c22af9ee60166e292..ec199e9c8276e3a046ca81b9f0a7b2f9d5228929 100644 (file)
@@ -340,6 +340,8 @@ BuildRequires: polkit-devel >= 0.93
 # For mount/umount in FS driver
 BuildRequires: util-linux
 %if %{with_qemu}
+# For managing ACLs
+BuildRequires: libacl-devel
 # From QEMU RPMs
 BuildRequires: /usr/bin/qemu-img
 %else