LSB 中是否有 RPM 文件命名约定?

发布于 2024-09-14 20:17:41 字数 201 浏览 6 评论 0原文

RPM 是 LSB 中的包格式,但 LSB 是否强制 RPM 的任何命名标准,类似于:

http://www.rpm.org/max-rpm/ch-rpm-file-format.html

RPM is the package format in LSB but does LSB force any naming standard for RPMs similarly to this:

http://www.rpm.org/max-rpm/ch-rpm-file-format.html

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

|煩躁 2024-09-21 20:17:41

"LSB Book"的相关部分中,Packaging,只需要

  • 在你的包前面加上 lsb-
  • 来注册你的包的部分包名称直到 LANANA 中的第一个连字符(或者它是您的域名)。

不过,标准LSB打包工具包装器makelsbpkg说的生成格式为 mypackage-1.0.0-1.%arch.rpm 的包名称,我猜是 name-version-release.architecture.rpm< /code> 您链接到的方案。

(我认为,它的目的是包名称(上面示例中的 mypackange 已经包含 lsb- 前缀。我不确定,从未真正运行过该工具。)

In the relevant section of the "LSB Book", Packaging, it's only required

  • to prefix your package with lsb-
  • to register the portion of your package name up to the first hyphen in LANANA (or for it to be your domain name).

However, the standard LSB packaging tool wrapper, makelsbpkg, is said to generate package names in the form mypackage-1.0.0-1.%arch.rpm, which, I guess is the name-version-release.architecture.rpm scheme you linked to.

(I think, it's intended that package name (mypackange in the example above, already contains lsb- prefix. I'm not sure, never actually ran the tool.)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文