]> git.proxmox.com Git - mirror_frr.git/commitdiff
redhat: fix else cases in spec file
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Fri, 8 Jun 2018 18:51:48 +0000 (20:51 +0200)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Tue, 19 Jun 2018 07:57:52 +0000 (09:57 +0200)
As pointed out during review, disable the options when the macros are
false.

Signed-off-by: Ruben Kerkhof <ruben@rubenkerkhof.com>
redhat/frr.spec.in

index 8d9fca9752a84accf14de61f75662328a95f0bb6..064b78b260ea900f85da86bf2c7a7ce6517b9ec5 100644 (file)
@@ -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 \