rhel: Add optional BuildRequires to libcap-ng
authorFlavio Leitner <fbl@redhat.com>
Thu, 1 Oct 2015 22:31:09 +0000 (19:31 -0300)
committerBen Pfaff <blp@nicira.com>
Fri, 2 Oct 2015 14:25:47 +0000 (07:25 -0700)
commit2ff63ae014f8fcc7bc86d1f4fb037ccb25d77c30
treebf0161d24f0ac6b870f10a568fc7d289f688fa54
parent89d762f3d5339a1f257de4298f48b535878ddf20
rhel: Add optional BuildRequires to libcap-ng

Commit e91b927d8 (lib/daemon: support --user option for all OVS daemon)
added optional usage of the libcap-ng library.  It's packaged in Fedora,
so go ahead and added it by default to the Fedora spec file.

Our default systemd unit files don't make use of the --user option that
requires this library, but conceivably someone may want to customize
them and use this option.

For those that don't want to use --user option, the Fedora package
offers an option (--without libcapng) to build the RPMs without it.

Signed-off-by: Flavio Leitner <fbl@redhat.com>
Acked-by: Russell Bryant <rbryant@redhat.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
rhel/openvswitch-fedora.spec.in