From 85a1f405b88abc16d9331b13e328313c02dc1f59 Mon Sep 17 00:00:00 2001 From: sparky Date: Mon, 13 Nov 2006 14:53:20 +0000 Subject: [PATCH] - don't use %{without ...}, it may not work after inverting bcond Changed files: cisco-vpnclient.spec -> 1.16 --- cisco-vpnclient.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cisco-vpnclient.spec b/cisco-vpnclient.spec index f90071a..f6bce9b 100644 --- a/cisco-vpnclient.spec +++ b/cisco-vpnclient.spec @@ -7,7 +7,7 @@ %bcond_without userspace # don't build userspace tools %bcond_with verbose # verbose build (V=1) # -%if %{without kernel} +%if !%{with kernel} %undefine with_dist_kernel %endif %define _rel 0.1 @@ -91,7 +91,7 @@ for cfg in %{?with_dist_kernel:%{?with_smp:smp} up}%{!?with_dist_kernel:nondist} ln -sf %{_kernelsrcdir}/include/linux/autoconf-$cfg.h include/linux/autoconf.h ln -sf %{_kernelsrcdir}/include/asm-%{_target_base_arch} include/asm ln -sf %{_kernelsrcdir}/Module.symvers-$cfg Module.symvers -%if %{without dist_kernel} +%if !%{with dist_kernel} ln -sf %{_kernelsrcdir}/scripts %endif touch include/config/MARKER -- 2.44.0