制作rpm之spec文件小提示

1. 如果想在rpm安装时执行一些脚本,可以在%post块里面写这些脚本
2. rpm_build时会为包里的二进制文件找出对应的共享库(.so)依赖,打成rpm包后在安装时会提示缺少依赖并退出。要避免rpm_build帮你找共享库依赖,可以在spec文件里加"Autoreq: no"

相关文章

分类

留言:

关于文章

This page contains a single entry by DongHao published on 08 11, 2009 5:54 PM.

又见 Hans zimmer was the previous entry in this blog.

linux下poll和epoll内核源代码剖析 is the next entry in this blog.

Find recent content on the main index or look in the 存档 to find all content.