summaryrefslogtreecommitdiffstats
path: root/redhat
diff options
context:
space:
mode:
authorRuben Kerkhof <ruben@rubenkerkhof.com>2018-06-20 15:33:01 +0200
committerRuben Kerkhof <ruben@rubenkerkhof.com>2018-06-21 17:03:29 +0200
commit5ebf96721a6bc92d36ca5e58d3aac3307eb42910 (patch)
tree73e0202b04b5acf25c3fda78569f4a0d6714ab83 /redhat
parentredhat: remove BuildRequires for patch (diff)
downloadfrr-5ebf96721a6bc92d36ca5e58d3aac3307eb42910.tar.xz
frr-5ebf96721a6bc92d36ca5e58d3aac3307eb42910.zip
redhat: use one BuildRequires per line
Makes for easier diffing Signed-off-by: Ruben Kerkhof <ruben@rubenkerkhof.com>
Diffstat (limited to 'redhat')
-rw-r--r--redhat/frr.spec.in23
1 files changed, 16 insertions, 7 deletions
diff --git a/redhat/frr.spec.in b/redhat/frr.spec.in
index 6f4123413..a2ec59a58 100644
--- a/redhat/frr.spec.in
+++ b/redhat/frr.spec.in
@@ -145,15 +145,23 @@ Source0: https://github.com/FRRouting/frr/archive/%{name}-%{frrversion}.t
URL: https://www.frrouting.org
Requires(preun): info
Requires(post): info
-BuildRequires: gcc libcap-devel
-BuildRequires: readline-devel ncurses-devel
-BuildRequires: json-c-devel bison >= 2.7 flex make
-BuildRequires: c-ares-devel texinfo
+BuildRequires: bison >= 2.7
+BuildRequires: c-ares-devel
+BuildRequires: flex
+BuildRequires: gcc
+BuildRequires: json-c-devel
+BuildRequires: libcap-devel
+BuildRequires: make
+BuildRequires: ncurses-devel
+BuildRequires: readline-devel
+BuildRequires: texinfo
%if 0%{?rhel} && 0%{?rhel} < 7
#python27-devel is available from ius community repo for RedHat/CentOS 6
-BuildRequires: python27-devel python27-sphinx
+BuildRequires: python27-devel
+BuildRequires: python27-sphinx
%else
-BuildRequires: python-devel >= 2.7 python-sphinx
+BuildRequires: python-devel >= 2.7
+BuildRequires: python-sphinx
%endif
%if %{with_pam}
BuildRequires: pam-devel
@@ -162,7 +170,8 @@ BuildRequires: pam-devel
BuildRequires: librtr-devel >= 0.5
%endif
%if "%{initsystem}" == "systemd"
-BuildRequires: systemd systemd-devel
+BuildRequires: systemd
+BuildRequires: systemd-devel
Requires(post): systemd
Requires(preun): systemd
Requires(postun): systemd