[libvirt] [PATCH] Support apparmor in RPM spec

Eric Blake eblake at redhat.com
Tue Jul 30 12:59:16 UTC 2013


On 07/30/2013 05:06 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange at 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 at 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20130730/70efd8b2/attachment-0001.sig>


More information about the libvir-list mailing list