rpmlint: "W: no-version-in-last-changelog"

问题描述

在 SLES12 中构建 RPM 时,我使用 rpmlint 检查规范文件和包。 我总是收到警告 W: no-version-in-last-changelog,但我无法解释:

我的 %changelog 的最后几行读起来像


* Tue Jul 11 2011 My Self <[email protected]>
- Release 5.2.5-0.0: Initial release.

所以我想这是警告所指的“最后一个”变更日志,并且其中显然有一个版本。 即使它指的是第一个(最新)版本,也没有什么区别,因为它看起来非常相似:

%changelog
* Thu Apr  8 2021 My Self <[email protected]>
- Release 5.28.0-0.0: Updated to...
  more text.

* Thu Jul 5 2018 ...next entry using just the same format...

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)