From d1ae30a6c68600bb9a1c61f6fd5c9b1b10650476 Mon Sep 17 00:00:00 2001 From: sparky Date: Tue, 14 Nov 2006 20:29:59 +0000 Subject: [PATCH] - userspace BRs inside bcond Changed files: qemu.spec -> 1.66 --- qemu.spec | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/qemu.spec b/qemu.spec index 6a8ee9e..0eb3870 100644 --- a/qemu.spec +++ b/qemu.spec @@ -37,16 +37,18 @@ Patch5: %{name}-gcc4_ppc.patch Patch6: %{name}-nosdlgui.patch Patch7: %{name}-ifup.patch URL: http://fabrice.bellard.free.fr/qemu/ +%if %{with kernel} && %{with dist_kernel} +BuildRequires: kernel%{_alt_kernel}-module-build >= 3:2.6.7 +%endif +%if %{with userspace} BuildRequires: SDL-devel >= 1.2.1 BuildRequires: alsa-lib-devel %{!?with_gcc4:BuildRequires: gcc < 5:4.0} -%if %{with kqemu} && %{with dist_kernel} -BuildRequires: kernel%{_alt_kernel}-module-build >= 3:2.6.7 -%endif BuildRequires: perl-tools-pod BuildRequires: rpmbuild(macros) >= 1.326 BuildRequires: tetex BuildRequires: sed >= 4.0 +%endif Requires: SDL >= 1.2.1 # sparc is currently unsupported (missing cpu_get_real_ticks() impl in vl.c) ExclusiveArch: %{ix86} %{x8664} %{!?with_kqemu:ppc} -- 2.44.0