
On 07/30/2013 05:06 AM, Daniel P. Berrange wrote:
From: "Daniel P. Berrange" <berrange@redhat.com>
If libapparmor-devel happens to be installed when building the RPM, it will failed due to unlisted virt-aa-helper in %files. Add support for apparmor in the spec, so that we can explicitly turn it on/off, defaulting to off in all distros. This causes --without-apparmor to be given to configure, preventing the build failures if the user happens to have libapparmor-devel present.
Makes sense - we want the spec file to be absolute regardless of the dev's environment. Question - is there a repo somewhere with libapparmor-devel built for Fedora, or does it remain something where I'm best off testing on a Debian-based build?
Signed-off-by: Daniel P. Berrange <berrange@redhat.com> --- libvirt.spec.in | 16 ++++++++++++++++ 1 file changed, 16 insertions(+)
ACK. -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org