Skip to content


RPM SPEC 语法变化

(来自 Panu Matilainen) 过去 %define 可以影响全局作用域。在新版本的 RPM 中,它只能在包含它的 %{} 括号之内起作用。如果希望有影响全局的效果,可以用 %global。例如,过去这样的用法不再有效:        %{?!foo: %define foo bar} 应当使用:        %{?!foo: %global foo bar} 参见 https://fedoraproject.org/wiki/Packaging/Guidelines#.25global_preferred_over_.25define

Posted in 新闻速递.


0 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.



Some HTML is OK

or, reply to this post via trackback.