Author: lkundrak
Update of /cvs/free/rpms/VirtualBox-OSE-kmod/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv3508
Modified Files:
VirtualBox-OSE-kmod.spec
Log Message:
* Sun Aug 09 2009 Lubomir Rintel <lkundrak(a)v3.sk> - 3.0.4-1
- New release
- Check that we build all modules present
Index: VirtualBox-OSE-kmod.spec
===================================================================
RCS file: /cvs/free/rpms/VirtualBox-OSE-kmod/devel/VirtualBox-OSE-kmod.spec,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- VirtualBox-OSE-kmod.spec 3 Aug 2009 22:27:53 -0000 1.18
+++ VirtualBox-OSE-kmod.spec 9 Aug 2009 14:25:29 -0000 1.19
@@ -6,7 +6,7 @@
#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(a)v3.sk> - 3.0.4-1
+- New release
+- Check that we build all modules present
+
* Tue Aug 04 2009 Lubomir Rintel <lkundrak(a)v3.sk> - 3.0.2-2
- Add netadp bmodule (Vlastimil Holer, #744)