Rpmbuild SPEC file - variable declaration
Rex Dieter
rdieter at math.unl.edu
Sun Sep 13 12:16:25 UTC 2015
arnaud gaboury wrote:
> When declaring a variable value, I wonder if the any difference/best
> practice between these methods:
>
> export VAR=MyValue
> %{define} VAR MyValue
> %{global} VAR MyValue
best practice is to use global, it is explicitly mentioned here:
https://fedoraproject.org/wiki/Packaging:Guidelines#.25global_preferred_over_.25define
-- rex
More information about the devel
mailing list