Signed-off-by: Helmut Schaa <helmut.sc...@googlemail.com> --- This is untested since I don't use/have RHEL or Fedora. I'd be glad if anyone could give that change a try.
Thanks, Helmut rhel/openvswitch-fedora.spec.in | 3 +++ rhel/openvswitch.spec.in | 1 + 2 files changed, 4 insertions(+) diff --git a/rhel/openvswitch-fedora.spec.in b/rhel/openvswitch-fedora.spec.in index 5384c32..3fa9265 100644 --- a/rhel/openvswitch-fedora.spec.in +++ b/rhel/openvswitch-fedora.spec.in @@ -69,6 +69,9 @@ install python/compat/argparse.py $RPM_BUILD_ROOT/usr/share/openvswitch/python install -d -m 755 $RPM_BUILD_ROOT/var/lib/openvswitch +# Get rid of stuff we don't want to make RPM happy. +rm -rf $RPM_BUILD_ROOT/%{_lib} + %clean rm -rf $RPM_BUILD_ROOT diff --git a/rhel/openvswitch.spec.in b/rhel/openvswitch.spec.in index 02857f4..3413c75 100644 --- a/rhel/openvswitch.spec.in +++ b/rhel/openvswitch.spec.in @@ -62,6 +62,7 @@ rm \ $RPM_BUILD_ROOT/usr/share/man/man8/ovs-l3ping.8 \ $RPM_BUILD_ROOT/usr/sbin/ovs-vlan-bug-workaround \ $RPM_BUILD_ROOT/usr/share/man/man8/ovs-vlan-bug-workaround.8 +rm -rf $RPM_BUILD_ROOT/%{_lib} install -d -m 755 $RPM_BUILD_ROOT/var/lib/openvswitch -- 1.8.1.4 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev