mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-04 14:30:31 +00:00
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>
This commit is contained in:
parent
6f59986bd4
commit
01aff72e26
@ -142,7 +142,13 @@ Requires(preun): /sbin/install-info
|
|||||||
Requires(post): /sbin/install-info
|
Requires(post): /sbin/install-info
|
||||||
BuildRequires: gcc texi2html texinfo patch libcap-devel groff
|
BuildRequires: gcc texi2html texinfo patch libcap-devel groff
|
||||||
BuildRequires: readline readline-devel ncurses ncurses-devel
|
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
|
Requires: ncurses json-c initscripts
|
||||||
%if %{with_pam}
|
%if %{with_pam}
|
||||||
BuildRequires: pam-devel
|
BuildRequires: pam-devel
|
||||||
|
Loading…
Reference in New Issue
Block a user