Skip to content

Commit

Permalink
rpms: Exclude OVN files from openvswitch packages.
Browse files Browse the repository at this point in the history
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 <[email protected]>
Acked-by: Ben Pfaff <[email protected]>
  • Loading branch information
shettyg committed Jun 22, 2015
1 parent d54ac80 commit 4b131a0
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions rhel/openvswitch.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -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-*
7 changes: 7 additions & 0 deletions xenserver/openvswitch-xen.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4b131a0

Please sign in to comment.