how to set/unset env variables in spec file

arnaud gaboury arnaud.gaboury at gmail.com
Tue Sep 8 14:32:07 UTC 2015


On Tue, Sep 8, 2015 at 3:30 PM, Jonathan Wakely <jwakely at redhat.com> wrote:
> On 08/09/15 14:11 +0200, arnaud gaboury wrote:
>>
>> On Tue, Sep 8, 2015 at 1:15 PM, Jan Chaloupka <jchaloup at redhat.com> wrote:
>>>
>>> Hi Arnaud,
>>>
>>> I am assuming all scripts you are referring to are sourced and run in
>>> %build
>>> section. Can you be more specific which commands are you running? %build
>>> section is interpreted as a bash script so source and unset should work.
>>> Without the concrete example it is hard to guess what is going wrong.
>>
>>
>> These are the two scripts I have to run:
>
>
> The question was which commands are you running in the spec file,

I understood the question, just wanted to be more precise.
My bad for protected contents.

 not
> what is the full content of the scripts, which should not be posted to
> public lists given these copyright terms:
>
>> ---------------------------------------------
>> % cat
>> /opt/intel/compilers_and_libraries_2016.0.109/linux/mkl/bin/mklvars.sh
>>
>> #!/bin/sh
>> #
>> # Copyright (C) 2003-2015 Intel Corporation. All rights reserved.
>> #
>> # The information and source code contained herein is the exclusive
>> property
>> # of Intel Corporation and may not be disclosed, examined, or reproduced
>> in
>> # whole or in part without explicit written authorization from the
>> Company.
>> #
>
>
> Please don't post things to this list that have terms prohibiting
> redistribution or reproduction.
>
>
> --
> devel mailing list
> devel at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/devel
> Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct



-- 

google.com/+arnaudgabourygabx


More information about the devel mailing list