rpms: Exclude OVN files from openvswitch packages.
authorGurucharan Shetty <gshetty@nicira.com>
Mon, 22 Jun 2015 15:37:29 +0000 (11:37 -0400)
committerGurucharan Shetty <gshetty@nicira.com>
Mon, 22 Jun 2015 17:26:11 +0000 (10:26 -0700)
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 <gshetty@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
rhel/openvswitch.spec.in
xenserver/openvswitch-xen.spec.in

index 1ea685d..bc1a5f6 100644 (file)
@@ -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-*
index 7a0c30f..112ae5a 100644 (file)
@@ -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