Re: Rpmbuild SPEC file - variable declaration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux