diff options
author | Martin Winter <mwinter@opensourcerouting.org> | 2017-06-28 04:49:38 +0200 |
---|---|---|
committer | Martin Winter <mwinter@opensourcerouting.org> | 2017-06-28 04:49:38 +0200 |
commit | 01aff72e26c51a36d34636b96434589bc621336c (patch) | |
tree | 277f86cbbdd502c64fc6e47ab1065a64e55e43c7 /redhat/frr.spec.in | |
parent | redhat: python-devel is now a build requirement for main package (diff) | |
download | frr-01aff72e26c51a36d34636b96434589bc621336c.tar.xz frr-01aff72e26c51a36d34636b96434589bc621336c.zip |
redhat: On CentOS/RedHat 6, use python27-devel from iuscommunity.org
FRR requires now Python 2.7 development libraries, but CentOS 6
does not provide this (not in main and not in EPEL library)
This is only a build limitation.
Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
Diffstat (limited to '')
-rw-r--r-- | redhat/frr.spec.in | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/redhat/frr.spec.in b/redhat/frr.spec.in index 6bf4c3796..bf4a36297 100644 --- a/redhat/frr.spec.in +++ b/redhat/frr.spec.in @@ -142,7 +142,13 @@ Requires(preun): /sbin/install-info Requires(post): /sbin/install-info BuildRequires: gcc texi2html texinfo patch libcap-devel groff BuildRequires: readline readline-devel ncurses ncurses-devel -BuildRequires: json-c-devel bison >= 2.7 flex make python-devel >= 2.7 +BuildRequires: json-c-devel bison >= 2.7 flex make +%if 0%{?rhel} && 0%{?rhel} < 7 +#python27-devel is available from ius community repo for RedHat/CentOS 6 +BuildRequires: python27-devel +%else +BuildRequires: python-devel >= 2.7 +%endif Requires: ncurses json-c initscripts %if %{with_pam} BuildRequires: pam-devel |