summaryrefslogtreecommitdiff
path: root/redhat
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2020-05-09 14:24:20 -0300
committerRenato Westphal <renato@opensourcerouting.org>2020-08-07 14:07:46 -0300
commit240b7826f6bc4dbcf9de7bbe94f08b9ce9ddffc5 (patch)
treecfc722648fa3ec7177da1149cd94d81e58b5c59a /redhat
parentcd211e2049e672d96dd1c549fcd259f68e0d57ea (diff)
build, yang: bump libyang minimum required version to 1.0.184
It's time to say good bye to libyang 0.16.105. The recently released libyang 1.0.184 includes numerous bug fixes and performance improvements that we need. Despite the major version bump from 0.x to 1.x, the libyang API is the same except for a single backward-incompatible change in the user types interface (which we're currently not using). Hence no code changes were necessary to adapt FRR to libyang 1.x. This commit also reintroduces some leafrefs that needed to be removed from our YANG modules due to a bug that was present on libyang 0.16.105. Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'redhat')
-rw-r--r--redhat/frr.spec.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/redhat/frr.spec.in b/redhat/frr.spec.in
index 929214a142..bd0d5b27f4 100644
--- a/redhat/frr.spec.in
+++ b/redhat/frr.spec.in
@@ -170,7 +170,7 @@ BuildRequires: make
BuildRequires: ncurses-devel
BuildRequires: readline-devel
BuildRequires: texinfo
-BuildRequires: libyang-devel >= 0.16.74
+BuildRequires: libyang-devel >= 1.0.184
%if 0%{?rhel} && 0%{?rhel} < 7
#python27-devel is available from ius community repo for RedHat/CentOS 6
BuildRequires: python27-devel