From 276d30a0fe4e8dd71d9109b571fca1e4ba38318f Mon Sep 17 00:00:00 2001 From: Martin Winter Date: Thu, 23 Jan 2025 14:13:51 +0100 Subject: 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 --- redhat/frr.spec.in | 3 +++ 1 file changed, 3 insertions(+) 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 -- cgit v1.2.3