From 700ff264278e8ba23cd623ce15981274255aa4a8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Tue, 16 Oct 2007 02:33:49 +0000 Subject: [PATCH] - add grsec_kernel bcond Changed files: qemu.spec -> 1.90 --- qemu.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/qemu.spec b/qemu.spec index 5ca41c0..e02f545 100644 --- a/qemu.spec +++ b/qemu.spec @@ -12,7 +12,11 @@ %bcond_without dist_kernel # without distribution kernel %bcond_without kernel # build kqemu KERNEL MODULES %bcond_without userspace # don't build userspace +%bcond_with grsec_kernel # build for kernel-grsecurity # +%if %{with kernel} && %{with dist_kernel} && %{with grsec_kernel} +%define alt_kernel grsecurity +%endif # no kqemu for ppc %ifarch ppc -- 2.44.0