rhel: Include pkgconfig and update header install in Fedora/RHEL spec.
authorThomas Graf <tgraf@noironetworks.com>
Thu, 13 Nov 2014 11:28:45 +0000 (12:28 +0100)
committerBen Pfaff <blp@nicira.com>
Thu, 13 Nov 2014 16:03:59 +0000 (08:03 -0800)
commit2fd84d5e5f5ca52607c69bbc2c69ec7e15f8d88b
tree87d488b42c5b5e529f4d7fd7ad6443df4538a729
parente72e07a97e9577141b1222cd382e20872777e7c1
rhel: Include pkgconfig and update header install in Fedora/RHEL spec.

As headers are installed by 'make install' now, the explicit install
instructions can be be removed from the spec file.

The spec file has been including <config.h> plus all headers in lib/ so
far which is dangerous:

 * config.h is a description of the capabilities of the build machine
   where the package was built. Although it may hint on what is
   included in the library, the defines do not necessarily hold true on
   another build machine.

 * Some headers in lib/ do not contain proper prefixes and pollute the
   global header name space. Do not include them anymore. Properly
   cleaned up headers will be exposed in openvswitch/ and openflow/

For the RHEL spec, both pkgconfig and headers are omitted as no -devel
package exists yet.

Cc: Flavio Leitner <fbl@redhat.com>
Suggested-by: Flavio Leitner <fbl@redhat.com>
Signed-off-by: Thomas Graf <tgraf@noironetworks.com>
Acked-by: Flavio Leitner <fbl@redhat.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
rhel/openvswitch-fedora.spec.in
rhel/openvswitch.spec.in