Skip to content

Commit 4b8b2e5

Browse files
authored
Merge pull request #2509 from opensourcerouting/redhat-fpm-3.0
Redhat fpm 3.0
2 parents 26fa100 + 99042c9 commit 4b8b2e5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

redhat/frr.spec.in

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,9 @@ rm -rf %{buildroot}/usr/share/info/dir
302302
# Remove debian init script if it was installed
303303
rm -f %{buildroot}%{_sbindir}/frr
304304

305+
# kill bogus libtool files for modules
306+
rm -f %{buildroot}%{_libdir}/frr/modules/*.la
307+
305308
# install /etc sources
306309
%if "%{initsystem}" == "systemd"
307310
mkdir -p %{buildroot}%{_unitdir}
@@ -532,6 +535,9 @@ rm -rf %{buildroot}
532535
%{_libdir}/lib*.so.0
533536
%attr(755,root,root) %{_libdir}/lib*.so.0.*
534537
%endif
538+
%if %{with_fpm}
539+
%attr(755,root,root) %{_libdir}/frr/modules/zebra_fpm.so
540+
%endif
535541
%{_bindir}/*
536542
%config(noreplace) /etc/frr/[!v]*.conf*
537543
%config(noreplace) %attr(750,%frr_user,%frr_user) /etc/frr/daemons

0 commit comments

Comments
 (0)