6 Summary: %{kmod_name} kernel module
8 Group: System Environment
/Kernel
10 URL: http
://www.qumranet.com
11 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}
13 ExclusiveArch: i386 x86_64 ia64
16 This kernel module provides support
for virtual machines using hardware support
17 (Intel VT
-x
&VT
-i or AMD SVM
).
27 %define kverrel unknown
28 %define moddir
/lib
/modules
/%{kverrel}/extra
29 mkdir -p
%{buildroot}/%{moddir}
30 cp
%{objdir}/%{kmod_name}.ko %{objdir}/%{kmod_name}-*.ko %{buildroot}/%{moddir}
31 chmod u
+x
%{buildroot}/%{moddir}/%{kmod_name}*.ko
42 %{__rm} -rf %{buildroot}
45 %{moddir}/%{kmod_name}.ko
47 %{moddir}/%{kmod_name}-amd.ko
49 %{moddir}/%{kmod_name}-intel.ko