From 0cff191d5c914102f639334f06dfdfc7d18a29b7 Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Fri, 8 Jun 2018 20:51:48 +0200 Subject: [PATCH] redhat: fix else cases in spec file As pointed out during review, disable the options when the macros are false. Signed-off-by: Ruben Kerkhof --- redhat/frr.spec.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/redhat/frr.spec.in b/redhat/frr.spec.in index 8d9fca9752..064b78b260 100644 --- a/redhat/frr.spec.in +++ b/redhat/frr.spec.in @@ -251,12 +251,12 @@ developing OSPF-API and frr applications. %if %{with_ospfapi} --enable-ospfapi \ %else - --enable-ospfapi \ + --disable-ospfapi \ %endif %if %{with_rtadv} --enable-rtadv \ %else - --enable-rtadv \ + --disable-rtadv \ %endif %if %{with_ldpd} --enable-ldpd \ -- 2.39.5