Skip to content

Commit

Permalink
redhat: Specify minimum libyang version requirement
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
mwinter-osr committed Jan 23, 2025
1 parent f19b843 commit 276d30a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions redhat/frr.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 276d30a

Please sign in to comment.