Re: how to set/unset env variables in spec file

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

 



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.

Jan

On 09/08/2015 01:07 PM, arnaud gaboury wrote:
I am building a rpm package. For make to success and have the correct
env variables, I need to source a few scripts and unset a few
variables.
rpmbuild does not understand the source and unset commands.

How shall I proceed to get the desired variables?

Thank you


--
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