From 4b131a01d83babc984bfda35817877d5d2cef36f Mon Sep 17 00:00:00 2001 From: Gurucharan Shetty Date: Mon, 22 Jun 2015 11:37:29 -0400 Subject: [PATCH] rpms: Exclude OVN files from openvswitch packages. Currently rhel rpm does not build because of OVN files. This patch only fixes the build failures. We eventually may have to add OVN packages for RHEL, Xenserver and Debian. Signed-off-by: Gurucharan Shetty Acked-by: Ben Pfaff --- rhel/openvswitch.spec.in | 7 +++++++ xenserver/openvswitch-xen.spec.in | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/rhel/openvswitch.spec.in b/rhel/openvswitch.spec.in index 1ea685d3b6f..bc1a5f6fa72 100644 --- a/rhel/openvswitch.spec.in +++ b/rhel/openvswitch.spec.in @@ -182,3 +182,10 @@ exit 0 %doc INSTALL.DPDK.md rhel/README.RHEL README-native-tunneling.md /var/lib/openvswitch /var/log/openvswitch +%exclude /usr/bin/ovn-* +%exclude /usr/share/man/man1/ovs-sim.1.gz +%exclude /usr/share/man/man5/ovn-* +%exclude /usr/share/man/man7/ovn-* +%exclude /usr/share/man/man8/ovn-* +%exclude /usr/share/openvswitch/ovn-* +%exclude /usr/share/openvswitch/scripts/ovn-* diff --git a/xenserver/openvswitch-xen.spec.in b/xenserver/openvswitch-xen.spec.in index 7a0c30f4bec..112ae5a0741 100644 --- a/xenserver/openvswitch-xen.spec.in +++ b/xenserver/openvswitch-xen.spec.in @@ -507,6 +507,13 @@ exit 0 %exclude /usr/share/openvswitch/python/*.py[co] %exclude /usr/share/openvswitch/python/ovs/*.py[co] %exclude /usr/share/openvswitch/python/ovs/db/*.py[co] +%exclude /usr/bin/ovn-* +%exclude /usr/share/man/man1/ovs-sim.1.gz +%exclude /usr/share/man/man5/ovn-* +%exclude /usr/share/man/man7/ovn-* +%exclude /usr/share/man/man8/ovn-* +%exclude /usr/share/openvswitch/ovn-* +%exclude /usr/share/openvswitch/scripts/ovn-* %files %{module_package} /lib/modules/%{xen_version}/extra/openvswitch/openvswitch.ko