summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Winter <mwinter@opensourcerouting.org>2025-01-23 14:13:51 +0100
committerMartin Winter <mwinter@opensourcerouting.org>2025-01-23 14:49:13 +0100
commit276d30a0fe4e8dd71d9109b571fca1e4ba38318f (patch)
treef017e56e818fd177530aca2d78fdcbcfbb88f264
parentMerge pull request #17652 from pguibert6WIND/topotest_bgp_evpn_rt5 (diff)
downloadfrr-276d30a0fe4e8dd71d9109b571fca1e4ba38318f.tar.xz
frr-276d30a0fe4e8dd71d9109b571fca1e4ba38318f.zip
redhat: Specify minimum libyang version requirement
Version requirement from a BuildRequire get dropped and don't get reflected in Require's for the package. Specify it both ways for Libyang as we require >= 2.1.128 Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
-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