rpms/VirtualBox-OSE-kmod/F-11 VirtualBox-OSE-kmod.spec,1.20,1.21

Lubomir Rintel lkundrak at rpmfusion.org
Sun Aug 9 20:10:09 CEST 2009


Author: lkundrak

Update of /cvs/free/rpms/VirtualBox-OSE-kmod/F-11
In directory se02.es.rpmfusion.net:/tmp/cvs-serv17124

Modified Files:
	VirtualBox-OSE-kmod.spec 
Log Message:
Merge from devel


Index: VirtualBox-OSE-kmod.spec
===================================================================
RCS file: /cvs/free/rpms/VirtualBox-OSE-kmod/F-11/VirtualBox-OSE-kmod.spec,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- VirtualBox-OSE-kmod.spec	3 Aug 2009 22:29:20 -0000	1.20
+++ VirtualBox-OSE-kmod.spec	9 Aug 2009 18:10:08 -0000	1.21
@@ -3,10 +3,10 @@
 # "buildforkernels newest" macro for just that build; immediately after
 # 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 newest
 
 Name:           VirtualBox-OSE-kmod
-Version:        3.0.2
+Version:        3.0.4
 Release:        2%{?dist}
 
 Summary:        Kernel module for VirtualBox-OSE
@@ -73,11 +73,22 @@
 %{?akmod_install}
 
 
+%check
+# If we built modules, check if it was everything the kmodsrc package provided
+MODS=$(find $RPM_BUILD_ROOT -name '*.ko' -exec basename '{}' \; |wc -l)
+DIRS=$(ls %{name}-%{version} |wc -l)
+[ $MODS = $DIRS ] || [ $MODS = 0 ]
+
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Sun Aug 09 2009 Lubomir Rintel <lkundrak at v3.sk> - 3.0.4-1
+- New release
+- Check that we build all modules present
+
 * Tue Aug 04 2009 Lubomir Rintel <lkundrak at v3.sk> - 3.0.2-2
 - Add netadp bmodule (Vlastimil Holer, #744)
 



More information about the rpmfusion-commits mailing list