From: Gurucharan Shetty Date: Mon, 22 Jun 2015 15:37:29 +0000 (-0400) Subject: rpms: Exclude OVN files from openvswitch packages. X-Git-Tag: v2.5.0~1042 X-Git-Url: http://git.cascardo.eti.br/?p=cascardo%2Fovs.git;a=commitdiff_plain;h=4b131a01d83babc984bfda35817877d5d2cef36f 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 --- diff --git a/rhel/openvswitch.spec.in b/rhel/openvswitch.spec.in index 1ea685d3b..bc1a5f6fa 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 7a0c30f4b..112ae5a07 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