SPECS: kvm.spec - up to 12

mkierus mkierus at pld-linux.org
Fri Feb 2 14:28:45 CET 2007


Author: mkierus                      Date: Fri Feb  2 13:28:45 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 12

---- Files affected:
SPECS:
   kvm.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SPECS/kvm.spec
diff -u SPECS/kvm.spec:1.2 SPECS/kvm.spec:1.3
--- SPECS/kvm.spec:1.2	Thu Jan 11 12:48:07 2007
+++ SPECS/kvm.spec	Fri Feb  2 14:28:39 2007
@@ -10,12 +10,13 @@
 
 Summary:	Kernel-based Virtual Machine for Linux
 Name:		kvm
-Version:	10
+Version:	12
 Release:	%{_rel}
 License:	GPL
 Group:		Applications/System
 Source0:	http://dl.sourceforge.net/kvm/%{name}-%{version}.tar.gz
-# Source0-md5:	41acb4a19818e70bf5833a2b1fa987a8
+# Source0-md5:	c336921942daa096063bbb471ed6eecd
+Patch0:         %{name}-headers.patch
 URL:		http://kvm.sourceforge.net/
 BuildRequires:	bash
 %if %{with kernel} && %{with dist_kernel}
@@ -74,6 +75,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 # not ac stuff
@@ -83,8 +85,8 @@
 	--qemu-cc="%{__cc}"
 
 %if %{with userspace}
-%{__make} -C user
-%{__make} -C qemu
+%{__make} -C user KERNELDIR=%{_kernelsrcdir}
+%{__make} -C qemu KERNELDIR=%{_kernelsrcdir}
 %endif
 
 %if %{with kernel}
@@ -123,7 +125,7 @@
 
 %if %{with userspace}
 %{__make} -C user install \
-	DESTDIR=$RPM_BUILD_ROOT
+	DESTDIR=$RPM_BUILD_ROOT KERNELDIR=%{_kernelsrcdir}
 %{__make} -C qemu install \
 	DESTDIR=$RPM_BUILD_ROOT
 %endif
@@ -179,6 +181,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2007/02/02 13:28:39  mkierus
+- up to 12
+
 Revision 1.2  2007/01/11 11:48:07  arekm
 - more
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/kvm.spec?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list