Author: lkundrak
Update of /cvs/free/rpms/VirtualBox-OSE-kmod/F-12
In directory se02.es.rpmfusion.net:/tmp/cvs-serv7789
Modified Files:
VirtualBox-OSE-kmod.spec
Log Message:
Fix build
Index: VirtualBox-OSE-kmod.spec
===================================================================
RCS file: /cvs/free/rpms/VirtualBox-OSE-kmod/F-12/VirtualBox-OSE-kmod.spec,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -r1.36 -r1.37
--- VirtualBox-OSE-kmod.spec 22 Nov 2009 13:26:29 -0000 1.36
+++ VirtualBox-OSE-kmod.spec 23 Nov 2009 23:10:32 -0000 1.37
@@ -11,7 +11,7 @@
Name: VirtualBox-OSE-kmod
Version: 3.0.10
-Release: 1%{?dist}.5
+Release: 2%{?dist}
Summary: Kernel module for VirtualBox-OSE
Group: System Environment/Kernel
@@ -79,7 +79,7 @@
%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)
+MODS=$(find $(ls -d $RPM_BUILD_ROOT/lib/modules/* |head -n1) -name '*.ko' -exec
basename '{}' \; |wc -l)
DIRS=$(ls %{name}-%{version} |wc -l)
[ $MODS = $DIRS ] || [ $MODS = 0 ]
@@ -89,6 +89,9 @@
%changelog
+* Mon Nov 23 2009 Lubomir Rintel <lkundrak(a)v3.sk> - 3.0.10-2
+- Fix %%check
+
* Sun Nov 22 2009 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 3.0.10-1.5
- rebuild for new kernel, disable i586 builds