[ovs-dev] [PATCH] rpms: Exclude OVN files from openvswitch packages.
Gurucharan Shetty
shettyg at nicira.com
Mon Jun 22 14:29:19 UTC 2015
Currently rhel rpm doesnot build because of OVN files. This
patch only fixes the build failures. We eventually may have
to add OVN packages RHEL, Xenserver and Debian.
Signed-off-by: Gurucharan Shetty <gshetty at nicira.com>
---
Did not test the change for Xenserver. It likely fails there
too.
---
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 1ea685d..bc1a5f6 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 7a0c30f..112ae5a 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
--
1.8.1.4
More information about the dev
mailing list