LSB中有RPM文件命名约定吗?

编程入门 行业动态 更新时间:2024-10-09 21:26:08
本文介绍了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:

www.rpm/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文件命名约定吗?

本文发布于:2023-11-28 21:34:20,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1644022.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:中有   文件   LSB   RPM

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!