Since %install puts every .ko file into /lib/modules, %files should make
sure that all of them are packaged.

Suggested-by: Thomas Graf <tg...@noironetworks.com>
Signed-off-by: Ben Pfaff <b...@nicira.com>
---
Not tested.

 rhel/openvswitch-kmod-fedora.spec.in |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/rhel/openvswitch-kmod-fedora.spec.in 
b/rhel/openvswitch-kmod-fedora.spec.in
index 8f79fd2..ecea16c 100644
--- a/rhel/openvswitch-kmod-fedora.spec.in
+++ b/rhel/openvswitch-kmod-fedora.spec.in
@@ -55,8 +55,7 @@ depmod %{kernel}
 
 %files
 %defattr(-,root,root)
-/lib/modules/%{kernel}/kernel/extra/openvswitch/openvswitch.ko
-/lib/modules/%{kernel}/kernel/extra/openvswitch/vport-*.ko
+/lib/modules/%{kernel}/kernel/extra/openvswitch/*.ko
 
 %changelog
 * Wed Sep 21 2011 Kyle Mestery <kmest...@cisco.com>
-- 
1.7.10.4

_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to