diff options
| author | Martin Winter <mwinter@opensourcerouting.org> | 2017-06-27 19:49:38 -0700 |
|---|---|---|
| committer | Martin Winter <mwinter@opensourcerouting.org> | 2017-06-27 19:49:38 -0700 |
| commit | 01aff72e26c51a36d34636b96434589bc621336c (patch) | |
| tree | 277f86cbbdd502c64fc6e47ab1065a64e55e43c7 | |
| parent | 6f59986bd41a3611595ff2b0b5b85527e41aabac (diff) | |
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>
| -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 6bf4c37967..bf4a362972 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 |
