SPECS: kvm.spec - fix build with 2.6.28+ (new asm includes layout).

pluto pluto at pld-linux.org
Wed Feb 25 23:47:03 CET 2009


Author: pluto                        Date: Wed Feb 25 22:47:03 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fix build with 2.6.28+ (new asm includes layout).

---- Files affected:
SPECS:
   kvm.spec (1.79 -> 1.80) 

---- Diffs:

================================================================
Index: SPECS/kvm.spec
diff -u SPECS/kvm.spec:1.79 SPECS/kvm.spec:1.80
--- SPECS/kvm.spec:1.79	Mon Dec 29 12:10:36 2008
+++ SPECS/kvm.spec	Wed Feb 25 23:46:58 2009
@@ -41,9 +41,9 @@
 URL:		http://kvm.qumranet.com/kvmwiki
 BuildRequires:	bash
 BuildRequires:	sed >= 4.0
-BuildRequires:	kernel%{_alt_kernel}-headers >= 3:2.6.26
+BuildRequires:	kernel%{_alt_kernel}-headers >= 3:2.6.28
 %if %{with kernel}
-BuildRequires:	kernel%{_alt_kernel}-module-build >= 3:2.6.26
+BuildRequires:	kernel%{_alt_kernel}-module-build >= 3:2.6.28
 BuildRequires:	rpmbuild(macros) >= 1.379
 %endif
 %if %{with userspace}
@@ -148,8 +148,8 @@
 %if %{without kernel}
 # qemu/configure uses linux/kvm.h to detect available features (KVM_CAP_* defs).
 rm -r kernel/include/*
-ln -s %{_kernelsrcdir}/include/* kernel/include
-ln -s asm-%{karch} kernel/include/asm
+ln -s %{_kernelsrcdir}/include/linux kernel/include
+ln -s %{_kernelsrcdir}/arch/%{karch}/include/asm kernel/include
 %endif
 
 # not ac stuff
@@ -245,6 +245,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.80  2009/02/25 22:46:58  pluto
+- fix build with 2.6.28+ (new asm includes layout).
+
 Revision 1.79  2008/12/29 11:10:36  blues
 - security note CVE-2008-2382
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/kvm.spec?r1=1.79&r2=1.80&f=u



More information about the pld-cvs-commit mailing list