summaryrefslogtreecommitdiffstats
path: root/redhat/frr.spec.in
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/frr.spec.in')
-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*