spec: Require libacl when building the QEMU driver

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.
This commit is contained in:
Andrea Bolognani 2017-02-14 14:42:54 +01:00
parent c315ead702
commit e04bd5b6fc

View 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