已开启
【升级请求】libyang 1.0.184 → 5.4.9 #24
Venland创建于  6月2日
Venland
6月2日 创建

升级信息

项目 内容
软件包 libyang
当前版本 1.0.184
目标版本 5.4.9
上游地址 https://github.com/CESNET/libyang
最新 Release v5.4.9 (2026-04-01)

版本变化

依赖变更

  • pcre → pcre2

移除内容

  • C++/Python/SWIG 绑定(v2 起不再维护)
  • 旧版 CVE 补丁(CVE-2021-28902~28906,上游已修复)

新增内容

  • 新增 modules 子包(YANG modules)
  • 新增 tools 子包(yanglint、yangre)

子包变化

旧子包 新子包 说明
libyang libyang soname 1 → 5
libyang-devel libyang-devel -
libyang-devel-doc libyang-devel-doc -
libyang-cpp (移除) 上游不再维护
libyang-cpp-devel (移除) -
python3-yang (移除) -
(新增) libyang-modules YANG modules
(新增) libyang-tools yanglint、yangre

构建现代化

  • 使用 %%cmake/%%cmake_build/%%cmake_install 宏替代手动 cmake/make
  • spec 参考 upstream distro/pkg/rpm/libyang.spec
likedislike
openeuler-ci-botopeneuler-ci-bot成员
6月2日 添加了label:sig/sig-ops
openeuler-ci-bot
openeuler-ci-bot成员
6月2日 评论:

Welcome To openEuler Community

Hey @Venland , thanks for your contribution to the community.

Bot Usage Manual

I'm the Bot here serving you. You can find the instructions on how to interact with me at Here . That means you can comment below every pull request or issue to trigger Bot Commands.

Contact Guide

If you have any questions, please contact the SIG: sig-ops ,
and any of the maintainers: @Gemshunter, @MrRlu, @byrobins, @hjx_gitff, @lostway1, @luanjianhai, @snoweay, @solarhu, @yangzhao_kl ,
and any of the committers: @Vchanger, @byrobins, @hongwentakkk1, @m0_58016603, @wangfenglai, @webankto, @weli1, @xuhou, @yaozhenhe .

likedislike