From 95c16f4c206873888c1a03dd9e0ae7faee0b3632 Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Wed, 20 Jun 2018 15:53:35 +0200 Subject: [PATCH] redhat: add some newlines between sections Makes the spec slightly easier to read Signed-off-by: Ruben Kerkhof --- redhat/frr.spec.in | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/redhat/frr.spec.in b/redhat/frr.spec.in index 79d0eecf6b..7ec92aa48c 100644 --- a/redhat/frr.spec.in +++ b/redhat/frr.spec.in @@ -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 - %{version} - Fixed RPKI RPM build -- 2.39.5