Is there a RPM File naming convention in LSB?

孤人 提交于 2019-12-06 09:24:27

问题


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


回答1:


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.)



来源:https://stackoverflow.com/questions/3528711/is-there-a-rpm-file-naming-convention-in-lsb

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!