Merge pull request #17912 from opensourcerouting/libyang_require

redhat: Specify minimum libyang version requirement
This commit is contained in:
Jafar Al-Gharaibeh 2025-01-24 13:05:18 -06:00 committed by GitHub
commit f471573651
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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