问题描述
RPM是LSB中的软件包格式,但是LSB确实对RPM强制使用任何命名标准,类似于以下内容:
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
推荐答案
在"LSB图书" ,包装,只需
- 为包裹添加
lsb-
前缀 - 注册您的软件包名称的一部分,直到LANANA中的第一个连字符(或将其作为您的域名).
- 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).
但是,标准的LSB打包工具包装makelsbpkg
是生成的程序包名称以 mypackage-1.0.0-1.%arch.rpm
的形式出现,我想这是您链接到的name-version-release.architecture.rpm
方案.
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.
(我认为,这是为了使程序包名称(在上面的示例中,mypackange
已经包含了lsb-
前缀.我不确定,从来没有真正运行过该工具.)
(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.)
这篇关于LSB中有RPM文件命名约定吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!