summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJafar Al-Gharaibeh <jafar@atcorp.com>2025-01-24 20:05:18 +0100
committerGitHub <noreply@github.com>2025-01-24 20:05:18 +0100
commitf471573651cb4018af6aafc7440fa7977fc9578c (patch)
tree4d8a91f7ee679445a05a156249e581c9e6ff2520
parentMerge pull request #17911 from askorichenko/test-fix-bgp-peer-solo (diff)
parentredhat: Specify minimum libyang version requirement (diff)
downloadfrr-f471573651cb4018af6aafc7440fa7977fc9578c.tar.xz
frr-f471573651cb4018af6aafc7440fa7977fc9578c.zip
Merge pull request #17912 from opensourcerouting/libyang_requireHEADmaster
redhat: Specify minimum libyang version requirement
-rw-r--r--redhat/frr.spec.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/redhat/frr.spec.in b/redhat/frr.spec.in
index 4c0a654c8..4e0196d24 100644
--- a/redhat/frr.spec.in
+++ b/redhat/frr.spec.in
@@ -191,6 +191,9 @@ BuildRequires: ncurses-devel
BuildRequires: readline-devel
BuildRequires: texinfo
BuildRequires: libyang-devel >= 2.1.128
+# Version requirement don't get reflected down from a BuildRequire
+# to Require, so need to require libyang version as both ways
+Requires: libyang >= 2.1.128
BuildRequires: pcre2-devel
%if 0%{?rhel} && 0%{?rhel} < 7
#python27-devel is available from ius community repo for RedHat/CentOS 6