|
|
例子链接
http://dries.ulyssis.org/apt/pac ... klvemkdvd-spec.html
http://dries.ulyssis.org/apt/packages/klvemkdvd/klvemkdvd-spec.html
- # ExcludeDist: el3 fc1
- %{?dist: %{expand: %%define %dist 1}}
- %{?fc1:%define _without_xorg 1}
- %{?el3:%define _without_xorg 1}
- %{?rh9:%define _without_xorg 1}
复制代码
最近搜索网上的SPEC文件,看到RH的RPM SPEC基本都是在头部定义类似的选项,但是我在turbolinux上试了试还是搞不懂到底是什么意思,也根本无法借助定义项进行可选择性打包
不知道dist和fc1 el3之类的到底是什么关系,难道这些参数是在RH rpm macros宏设置里的,并不适合非RH的RPM系统。还是需要在使用rpm -ba *.spec过程中加些参数才能调用设定项,请教大虾了,谢谢
关于这些参数的解释链接
http://www.redhat.com/archives/r ... ruary/msg00000.html
http://www.redhat.com/archives/rpm-list/2006-February/msg00000.html |
|