summaryrefslogtreecommitdiffstats
path: root/redhat
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-01-18 15:05:36 +0100
committerDonald Sharp <sharpd@cumulusnetworks.com>2018-01-18 15:31:20 +0100
commit84b05ca19375d1578b41c5b082d8120530bd3991 (patch)
treeb5902c4b54dcf3a9eb074dc201c9ca857ad96c7b /redhat
parentMerge pull request #1650 from donaldsharp/hash_it_fucker (diff)
downloadfrr-84b05ca19375d1578b41c5b082d8120530bd3991.tar.xz
frr-84b05ca19375d1578b41c5b082d8120530bd3991.zip
redhat: Build with FPM
Build redhat rpm's with FPM. It's a module so not a bad idea. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'redhat')
-rw-r--r--redhat/frr.spec.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/redhat/frr.spec.in b/redhat/frr.spec.in
index 4e05f7828..20b96bb76 100644
--- a/redhat/frr.spec.in
+++ b/redhat/frr.spec.in
@@ -22,7 +22,7 @@
%{!?with_multipath: %global with_multipath 256 }
%{!?frr_user: %global frr_user frr }
%{!?vty_group: %global vty_group frrvty }
-%{!?with_fpm: %global with_fpm 0 }
+%{!?with_fpm: %global with_fpm 1 }
%{!?with_watchfrr: %global with_watchfrr 1 }
%{!?with_bgp_vnc: %global with_bgp_vnc 0 }
%{!?with_pimd: %global with_pimd 1 }
@@ -554,6 +554,9 @@ rm -rf %{buildroot}
%{_libdir}/lib*.so.0
%attr(755,root,root) %{_libdir}/lib*.so.0.*
%endif
+%if %{with_fpm}
+%attr(755,root,root) %{_libdir}/frr/modules/zebra_fpm.so
+%endif
%attr(755,root,root) %{_libdir}/frr/modules/zebra_irdp.so
%{_bindir}/*
%config(noreplace) /etc/frr/[!v]*.conf*