From 240b7826f6bc4dbcf9de7bbe94f08b9ce9ddffc5 Mon Sep 17 00:00:00 2001 From: Renato Westphal Date: Sat, 9 May 2020 14:24:20 -0300 Subject: 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 --- redhat/frr.spec.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'redhat') diff --git a/redhat/frr.spec.in b/redhat/frr.spec.in index 929214a14..bd0d5b27f 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 -- cgit v1.2.3