LSB中有RPM文件命名约定吗? [英] Is there a RPM File naming convention in LSB?

查看:126
本文介绍了LSB中有RPM文件命名约定吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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文件命名约定吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆