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@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Reply via email to