]> git.pld-linux.org Git - packages/qemu.git/blobdiff - qemu.spec
- allow only userspace build
[packages/qemu.git] / qemu.spec
index 126873c78ca8e897fcf897dca16e2a0a055401ff..3342a1b241b9cd59c52252e8f83711cad59302b2 100644 (file)
--- a/qemu.spec
+++ b/qemu.spec
@@ -129,10 +129,12 @@ kqemu - SMP kernel module.
 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
This page took 0.035944 seconds and 4 git commands to generate.