rhel: Make openvswitch-kmod-fedora.spec build.
authorRussell Bryant <russell@ovn.org>
Thu, 28 Jan 2016 20:23:00 +0000 (15:23 -0500)
committerRussell Bryant <russell@ovn.org>
Fri, 29 Jan 2016 21:25:23 +0000 (16:25 -0500)
commit8c7c9dd2a9a76c61e73c39226177d58ea9490d32
tree786d3dd169ff37347759dd2d20852ce77f1f7e0d
parentbf1f0d35ceb9ab8112b8ce3e4fa436f92bdb6410
rhel: Make openvswitch-kmod-fedora.spec build.

I tried building this package on Fedora 23 and it failed for a couple of
different reasons.

This package tried to install modules without specifying the rpm build
root as an install prefix.  The result was just attempting to install
the modules on the system, which luckily failed since I wasn't running
rpmbuild as root.

The package also then tried to manually install the modules into the rpm
build root, which is unnecessary once modules_install is pointed to the
right place.

Finally, the package build failed with a completely unhelpful error
which turned out to be because it didn't know how to generate
a debuginfo pacakge.  I turned off the debug package for now.  At least
it builds now, which is an improvement.

Signed-off-by: Russell Bryant <russell@ovn.org>
Suggested-by: Flavio Leitner <fbl@redhat.com>
Acked-by: Flavio Leitner <fbl@redhat.com>
Acked-by: Gurucharan Shetty <guru@ovn.org>
rhel/openvswitch-kmod-fedora.spec.in