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
Thank you for hints.
--
google.com/+arnaudgabourygabx
--
devel mailing list
devel@lists.fedoraproject.org
I might add that fedora-review could be run on local spec + srpm
and will warn you about these kinds of things.
H.
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Am 13.09.2015 um 15:39 schrieb arnaud gaboury:
On Sun, Sep 13, 2015 at 2:16 PM, Rex Dieter wrote:
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
On Sun, Sep 13, 2015 at 3:53 PM, Reindl Harald wrote:
>
>
> Am 13.09.2015 um 15:39 schrieb arnaud gaboury:
>>
>> On Sun, Sep 13, 2015 at 2:16 PM, Rex Dieter wrote:
>>>
>>> arnaud gaboury wrote:
>>>
When declaring a variable value, I wonder if
On Sep 13, 2015 4:07 PM, "Reindl Harald" wrote:
>
>
>
> Am 13.09.2015 um 16:01 schrieb arnaud gaboury:
>>
>> On Sun, Sep 13, 2015 at 3:53 PM, Reindl Harald
wrote:
export CFFLAGS= '-xHost -mavx -fp-model precise'
%configure
Am 13.09.2015 um 16:01 schrieb arnaud gaboury:
On Sun, Sep 13, 2015 at 3:53 PM, Reindl Harald wrote:
export CFFLAGS= '-xHost -mavx -fp-model precise'
%configure
CFFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ; \
Is above the the best way?
no
*
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:
On Sun, Sep 13, 2015 at 2:16 PM, Rex Dieter wrote:
> 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