mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-16 02:30:52 +00:00
redhat: add some newlines between sections
Makes the spec slightly easier to read Signed-off-by: Ruben Kerkhof <ruben@rubenkerkhof.com>
This commit is contained in:
parent
1eca28ffdc
commit
95c16f4c20
@ -184,6 +184,7 @@ Provides: routingdaemon = %{version}-%{release}
|
|||||||
Obsoletes: gated mrt zebra frr-sysvinit
|
Obsoletes: gated mrt zebra frr-sysvinit
|
||||||
Conflicts: bird
|
Conflicts: bird
|
||||||
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
FRRouting is a free software that manages TCP/IP based routing
|
FRRouting is a free software that manages TCP/IP based routing
|
||||||
protocol. It takes multi-server and multi-thread approach to resolve
|
protocol. It takes multi-server and multi-thread approach to resolve
|
||||||
@ -194,6 +195,7 @@ NHRP, Babel, PBR and EIGRP.
|
|||||||
|
|
||||||
FRRouting is a fork of Quagga.
|
FRRouting is a fork of Quagga.
|
||||||
|
|
||||||
|
|
||||||
%package contrib
|
%package contrib
|
||||||
Summary: contrib tools for frr
|
Summary: contrib tools for frr
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
@ -201,6 +203,7 @@ Group: System Environment/Daemons
|
|||||||
%description contrib
|
%description contrib
|
||||||
Contributed/3rd party tools which may be of use with frr.
|
Contributed/3rd party tools which may be of use with frr.
|
||||||
|
|
||||||
|
|
||||||
%package pythontools
|
%package pythontools
|
||||||
Summary: python tools for frr
|
Summary: python tools for frr
|
||||||
BuildRequires: python
|
BuildRequires: python
|
||||||
@ -210,6 +213,7 @@ Group: System Environment/Daemons
|
|||||||
%description pythontools
|
%description pythontools
|
||||||
Contributed python 2.7 tools which may be of use with frr.
|
Contributed python 2.7 tools which may be of use with frr.
|
||||||
|
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Header and object files for frr development
|
Summary: Header and object files for frr development
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
@ -219,9 +223,11 @@ Requires: %{name} = %{version}-%{release}
|
|||||||
The frr-devel package contains the header and object files neccessary for
|
The frr-devel package contains the header and object files neccessary for
|
||||||
developing OSPF-API and frr applications.
|
developing OSPF-API and frr applications.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n frr-%{frrversion}
|
%setup -q -n frr-%{frrversion}
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
# For standard gcc verbosity, uncomment these lines:
|
# For standard gcc verbosity, uncomment these lines:
|
||||||
@ -331,6 +337,7 @@ pushd doc
|
|||||||
make SPHINXBUILD=%{sphinx} info
|
make SPHINXBUILD=%{sphinx} info
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p %{buildroot}%{_sysconfdir}/{frr,sysconfig,logrotate.d,pam.d,default} \
|
mkdir -p %{buildroot}%{_sysconfdir}/{frr,sysconfig,logrotate.d,pam.d,default} \
|
||||||
%{buildroot}/var/log/frr %{buildroot}%{_infodir}
|
%{buildroot}/var/log/frr %{buildroot}%{_infodir}
|
||||||
@ -362,6 +369,7 @@ install -m644 %{zeb_rh_src}/frr.pam %{buildroot}%{_sysconfdir}/pam.d/frr
|
|||||||
install -m644 %{zeb_rh_src}/frr.logrotate %{buildroot}%{_sysconfdir}/logrotate.d/frr
|
install -m644 %{zeb_rh_src}/frr.logrotate %{buildroot}%{_sysconfdir}/logrotate.d/frr
|
||||||
install -d -m750 %{buildroot}%{rundir}
|
install -d -m750 %{buildroot}%{rundir}
|
||||||
|
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
# add vty_group
|
# add vty_group
|
||||||
%if 0%{?vty_group:1}
|
%if 0%{?vty_group:1}
|
||||||
@ -486,6 +494,7 @@ if [ ! -e %{configdir}/vtysh.conf ]; then
|
|||||||
%endif
|
%endif
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
if [ "$1" -ge 1 ]; then
|
if [ "$1" -ge 1 ]; then
|
||||||
#
|
#
|
||||||
@ -505,6 +514,7 @@ if [ "$1" -ge 1 ]; then
|
|||||||
:
|
:
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
%if "%{initsystem}" == "systemd"
|
%if "%{initsystem}" == "systemd"
|
||||||
##
|
##
|
||||||
@ -524,6 +534,7 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
/sbin/install-info --delete %{_infodir}/frr.info.gz %{_infodir}/dir
|
/sbin/install-info --delete %{_infodir}/frr.info.gz %{_infodir}/dir
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc */*.sample* AUTHORS COPYING
|
%doc */*.sample* AUTHORS COPYING
|
||||||
%doc doc/mpls
|
%doc doc/mpls
|
||||||
@ -593,14 +604,17 @@ fi
|
|||||||
%config(noreplace) %{_sysconfdir}/logrotate.d/frr
|
%config(noreplace) %{_sysconfdir}/logrotate.d/frr
|
||||||
%{_sbindir}/frr-reload
|
%{_sbindir}/frr-reload
|
||||||
|
|
||||||
|
|
||||||
%files contrib
|
%files contrib
|
||||||
%doc tools
|
%doc tools
|
||||||
|
|
||||||
|
|
||||||
%files pythontools
|
%files pythontools
|
||||||
%{_sbindir}/frr-reload.py
|
%{_sbindir}/frr-reload.py
|
||||||
%{_sbindir}/frr-reload.pyc
|
%{_sbindir}/frr-reload.pyc
|
||||||
%{_sbindir}/frr-reload.pyo
|
%{_sbindir}/frr-reload.pyo
|
||||||
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%{_libdir}/lib*.so
|
%{_libdir}/lib*.so
|
||||||
%if %{with_ospfclient}
|
%if %{with_ospfclient}
|
||||||
@ -619,6 +633,7 @@ fi
|
|||||||
%{_includedir}/%name/eigrpd/*.h
|
%{_includedir}/%name/eigrpd/*.h
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Sun May 20 2018 Martin Winter <mwinter@opensourcerouting.org> - %{version}
|
* Sun May 20 2018 Martin Winter <mwinter@opensourcerouting.org> - %{version}
|
||||||
- Fixed RPKI RPM build
|
- Fixed RPKI RPM build
|
||||||
|
Loading…
Reference in New Issue
Block a user