SPECS: qemu.spec - allow only userspace build

glen glen at pld-linux.org
Tue Mar 13 10:13:11 CET 2007


Author: glen                         Date: Tue Mar 13 09:13:11 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- allow only userspace build

---- Files affected:
SPECS:
   qemu.spec (1.83 -> 1.84) 

---- Diffs:

================================================================
Index: SPECS/qemu.spec
diff -u SPECS/qemu.spec:1.83 SPECS/qemu.spec:1.84
--- SPECS/qemu.spec:1.83	Tue Mar 13 09:50:24 2007
+++ SPECS/qemu.spec	Tue Mar 13 10:13:06 2007
@@ -130,10 +130,12 @@
 kqemu - moduł jądra SMP.
 
 %prep
+%if %{with kernel}
 %if %{with dist_kernel} && %{without up} && %{without smp}
 %{error:%{name}: If building kernel module You need to enable at least one of up or smp}
 exit 1
 %endif
+%endif
 
 %setup -q %{?with_kernel:-a1}
 %patch0 -p1
@@ -318,6 +320,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.84  2007/03/13 09:13:06  glen
+- allow only userspace build
+
 Revision 1.83  2007/03/13 08:50:24  czarny
 - added bcond_without up, as up module wouldn't build without defining with up to 1
 - safety check for without up and without smp
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/qemu.spec?r1=1.83&r2=1.84&f=u



More information about the pld-cvs-commit mailing list