[ovs-dev] [PATCH] rhel: Make Fedora %files and %install section wildcards match.

Ben Pfaff blp at nicira.com
Mon Apr 6 20:56:04 UTC 2015


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

Suggested-by: Thomas Graf <tgraf at noironetworks.com>
Signed-off-by: Ben Pfaff <blp at 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 <kmestery at cisco.com>
-- 
1.7.10.4




More information about the dev mailing list