summaryrefslogtreecommitdiffstats
path: root/redhat
diff options
context:
space:
mode:
authorRuben Kerkhof <ruben@rubenkerkhof.com>2018-06-20 16:08:36 +0200
committerRuben Kerkhof <ruben@rubenkerkhof.com>2018-06-21 17:05:41 +0200
commit0e3daa4df66ed50a98e6a5bdf0561b0792e3fc62 (patch)
treec4b84e96374507ca109216986c036b31544a590f /redhat
parentredhat: quote %name macro (diff)
downloadfrr-0e3daa4df66ed50a98e6a5bdf0561b0792e3fc62.tar.xz
frr-0e3daa4df66ed50a98e6a5bdf0561b0792e3fc62.zip
redhat: add option to enable Cumulus extensions
Signed-off-by: Ruben Kerkhof <ruben@rubenkerkhof.com>
Diffstat (limited to 'redhat')
-rw-r--r--redhat/frr.spec.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/redhat/frr.spec.in b/redhat/frr.spec.in
index a87ef97b9..068adbda8 100644
--- a/redhat/frr.spec.in
+++ b/redhat/frr.spec.in
@@ -12,6 +12,7 @@
# with-feature options
%{!?with_babeld: %global with_babeld 1 }
%{!?with_bgp_vnc: %global with_bgp_vnc 0 }
+%{!?with_cumulus: %global with_cumulus 0 }
%{!?with_eigrpd: %global with_eigrpd 1 }
%{!?with_fpm: %global with_fpm 1 }
%{!?with_ldpd: %global with_ldpd 1 }
@@ -316,6 +317,9 @@ developing OSPF-API and frr applications.
%else
--disable-watchfrr \
%endif
+%if %{with_cumulus}
+ --enable-cumulus \
+%endif
%if %{with_bgp_vnc}
--enable-bgp-vnc \
%else