From 76cb30aea826dcf81901a863f6060ba35e1a2c39 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Tue, 29 Jan 2008 11:26:31 +0000 Subject: [PATCH] - undefine kernel and kqemu later, allowing userspace being disabled if alt kernel was wanted Changed files: qemu.spec -> 1.85.2.29 --- qemu.spec | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) 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 -- 2.44.0