From: Elan Ruusamäe Date: Tue, 29 Jan 2008 11:26:31 +0000 (+0000) Subject: - undefine kernel and kqemu later, allowing userspace being disabled if alt kernel... X-Git-Tag: auto/ac/qemu-0_9_1-3k~3 X-Git-Url: https://git.pld-linux.org/?a=commitdiff_plain;h=76cb30aea826dcf81901a863f6060ba35e1a2c39;p=packages%2Fqemu.git - undefine kernel and kqemu later, allowing userspace being disabled if alt kernel was wanted Changed files: qemu.spec -> 1.85.2.29 --- diff --git a/qemu.spec b/qemu.spec index 89ac8dc..8c34e63 100644 --- a/qemu.spec +++ b/qemu.spec @@ -16,18 +16,19 @@ %bcond_without userspace # don't build userspace utilities %bcond_with grsec_kernel # build for kernel-grsecurity -# no kernel kqemu module for ppc -%ifarch ppc -%undefine with_kqemu -%undefine with_kernel -%endif - %if %{without kernel} %undefine with_dist_kernel %endif %if %{with kernel} && %{with dist_kernel} && %{with grsec_kernel} %define alt_kernel grsecurity %endif + +# no kernel kqemu module for ppc +%ifarch ppc +%undefine with_kqemu +%undefine with_kernel +%endif + %if "%{_alt_kernel}" != "%{nil}" %undefine with_userspace %endif