mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 00:56:19 +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
|
||||
Conflicts: bird
|
||||
|
||||
|
||||
%description
|
||||
FRRouting is a free software that manages TCP/IP based routing
|
||||
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.
|
||||
|
||||
|
||||
%package contrib
|
||||
Summary: contrib tools for frr
|
||||
Group: System Environment/Daemons
|
||||
@ -201,6 +203,7 @@ Group: System Environment/Daemons
|
||||
%description contrib
|
||||
Contributed/3rd party tools which may be of use with frr.
|
||||
|
||||
|
||||
%package pythontools
|
||||
Summary: python tools for frr
|
||||
BuildRequires: python
|
||||
@ -210,6 +213,7 @@ Group: System Environment/Daemons
|
||||
%description pythontools
|
||||
Contributed python 2.7 tools which may be of use with frr.
|
||||
|
||||
|
||||
%package devel
|
||||
Summary: Header and object files for frr development
|
||||
Group: System Environment/Daemons
|
||||
@ -219,9 +223,11 @@ Requires: %{name} = %{version}-%{release}
|
||||
The frr-devel package contains the header and object files neccessary for
|
||||
developing OSPF-API and frr applications.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n frr-%{frrversion}
|
||||
|
||||
|
||||
%build
|
||||
|
||||
# For standard gcc verbosity, uncomment these lines:
|
||||
@ -331,6 +337,7 @@ pushd doc
|
||||
make SPHINXBUILD=%{sphinx} info
|
||||
popd
|
||||
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/{frr,sysconfig,logrotate.d,pam.d,default} \
|
||||
%{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 -d -m750 %{buildroot}%{rundir}
|
||||
|
||||
|
||||
%pre
|
||||
# add vty_group
|
||||
%if 0%{?vty_group:1}
|
||||
@ -486,6 +494,7 @@ if [ ! -e %{configdir}/vtysh.conf ]; then
|
||||
%endif
|
||||
fi
|
||||
|
||||
|
||||
%postun
|
||||
if [ "$1" -ge 1 ]; then
|
||||
#
|
||||
@ -505,6 +514,7 @@ if [ "$1" -ge 1 ]; then
|
||||
:
|
||||
fi
|
||||
|
||||
|
||||
%preun
|
||||
%if "%{initsystem}" == "systemd"
|
||||
##
|
||||
@ -524,6 +534,7 @@ fi
|
||||
%endif
|
||||
/sbin/install-info --delete %{_infodir}/frr.info.gz %{_infodir}/dir
|
||||
|
||||
|
||||
%files
|
||||
%doc */*.sample* AUTHORS COPYING
|
||||
%doc doc/mpls
|
||||
@ -593,14 +604,17 @@ fi
|
||||
%config(noreplace) %{_sysconfdir}/logrotate.d/frr
|
||||
%{_sbindir}/frr-reload
|
||||
|
||||
|
||||
%files contrib
|
||||
%doc tools
|
||||
|
||||
|
||||
%files pythontools
|
||||
%{_sbindir}/frr-reload.py
|
||||
%{_sbindir}/frr-reload.pyc
|
||||
%{_sbindir}/frr-reload.pyo
|
||||
|
||||
|
||||
%files devel
|
||||
%{_libdir}/lib*.so
|
||||
%if %{with_ospfclient}
|
||||
@ -619,6 +633,7 @@ fi
|
||||
%{_includedir}/%name/eigrpd/*.h
|
||||
%endif
|
||||
|
||||
|
||||
%changelog
|
||||
* Sun May 20 2018 Martin Winter <mwinter@opensourcerouting.org> - %{version}
|
||||
- Fixed RPKI RPM build
|
||||
|
Loading…
Reference in New Issue
Block a user