]> xenbits.xensource.com Git - libvirt.git/commit
Support apparmor in RPM spec
authorDaniel P. Berrange <berrange@redhat.com>
Tue, 30 Jul 2013 11:04:55 +0000 (12:04 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Tue, 30 Jul 2013 13:13:58 +0000 (14:13 +0100)
commit6aa5ebbecd3e837ce4618ee16494f95b5cb58e97
tree4bfc948d8f0079401bea21f24114e9c0534586f3
parent5bb2a245abbde4c0a407f631660e2f2c81bc4c02
Support apparmor in RPM spec

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.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
libvirt.spec.in