From: Ruben Kerkhof Date: Fri, 8 Jun 2018 18:51:48 +0000 (+0200) Subject: redhat: fix else cases in spec file X-Git-Tag: frr-6.1-dev~289^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=0cff191d5c914102f639334f06dfdfc7d18a29b7;p=matthieu%2Ffrr.git 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 --- 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 \