redhat: Fix RPKI RPM build option

Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
This commit is contained in:
Martin Winter 2018-05-20 07:13:02 -07:00
parent a44ed5bd8c
commit b4c554e24f

View File

@ -322,10 +322,10 @@ developing OSPF-API and frr applications.
%if "%{initsystem}" == "systemd"
--enable-systemd=yes \
%endif
--enable-poll=yes
%if %{with_rpki}
--enable-rpki
--enable-rpki \
%endif
--enable-poll=yes
make %{?_smp_mflags} MAKEINFO="makeinfo --no-split" SPHINXBUILD=%{sphinx}
@ -586,6 +586,9 @@ rm -rf %{buildroot}
%if %{with_fpm}
%attr(755,root,root) %{_libdir}/frr/modules/zebra_fpm.so
%endif
%if %{with_rpki}
%attr(755,root,root) %{_libdir}/frr/modules/bgpd_rpki.so
%endif
%attr(755,root,root) %{_libdir}/frr/modules/zebra_irdp.so
%{_bindir}/*
%config(noreplace) /etc/frr/[!v]*.conf*
@ -632,7 +635,10 @@ rm -rf %{buildroot}
%endif
%changelog
* Sun Mar 4 2018 Martin Winter <mwinter@opensourcerouting.org> - %{version}
* Sun May 20 2018 Martin Winter <mwinter@opensourcerouting.org> - %{version}
- Fixed RPKI RPM build
* Sun Mar 4 2018 Martin Winter <mwinter@opensourcerouting.org>
- Add option to build with RPKI (default: disabled)
* Tue Feb 20 2018 Martin Winter <mwinter@opensourcerouting.org>