rpms/VirtualBox-OSE-kmod/devel VirtualBox-OSE-kmod.spec,1.47,1.48

Lubomir Rintel lkundrak at rpmfusion.org
Mon Feb 14 09:22:04 CET 2011


Author: lkundrak

Update of /cvs/free/rpms/VirtualBox-OSE-kmod/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv20397

Modified Files:
	VirtualBox-OSE-kmod.spec 
Log Message:
Fix module dependencies


Index: VirtualBox-OSE-kmod.spec
===================================================================
RCS file: /cvs/free/rpms/VirtualBox-OSE-kmod/devel/VirtualBox-OSE-kmod.spec,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -r1.47 -r1.48
--- VirtualBox-OSE-kmod.spec	5 Feb 2011 13:12:53 -0000	1.47
+++ VirtualBox-OSE-kmod.spec	14 Feb 2011 08:22:02 -0000	1.48
@@ -4,7 +4,7 @@
 # queuing that build enable the macro again for subsequent builds; that way
 # a new akmod package will only get build when a new one is actually needed
 #define buildforkernels newest
-#define buildforkernels akmod
+#define buldforkernels akmod
 
 # In prerelease builds (such as betas), this package has the same
 # major version number, while the kernel module abi is not guarranteed
@@ -19,7 +19,7 @@
 
 Name:           VirtualBox-OSE-kmod
 Version:        4.0.2
-Release:        1%{?dist}
+Release:        2%{?dist}
 
 Summary:        Kernel module for VirtualBox-OSE
 Group:          System Environment/Kernel
@@ -68,7 +68,14 @@
 
 %build
 for kernel_version in %{?kernel_versions}; do
-    for module in vbox{drv,guest,netadp,netflt,sf,video}; do
+    for module in vbox{drv,guest}; do
+        make VBOX_USE_INSERT_PAGE=1 %{?_smp_mflags} -C "${kernel_version##*___}" SUBDIRS="${PWD}/_kmod_build_${kernel_version%%___*}/${module}"  modules
+    done
+    cp _kmod_build_${kernel_version%%___*}/{vboxdrv/Module.symvers,vboxnetadp}
+    cp _kmod_build_${kernel_version%%___*}/{vboxdrv/Module.symvers,vboxnetflt}
+    cp _kmod_build_${kernel_version%%___*}/{vboxguest/Module.symvers,vboxsf}
+    cp _kmod_build_${kernel_version%%___*}/{vboxguest/Module.symvers,vboxvideo}
+    for module in vbox{netadp,netflt,sf,video}; do
         make VBOX_USE_INSERT_PAGE=1 %{?_smp_mflags} -C "${kernel_version##*___}" SUBDIRS="${PWD}/_kmod_build_${kernel_version%%___*}/${module}"  modules
     done
 done
@@ -98,6 +105,9 @@
 
 
 %changelog
+* Mon Feb 14 2011 Lubomir Rintel <lkundrak at v3.sk> - 4.0.2-2
+- Fix module symbol versioning
+
 * Sat Feb 05 2011 Lubomir Rintel <lkundrak at v3.sk> - 4.0.2-1
 - New release
 



More information about the rpmfusion-commits mailing list