[Rpm-maint] [rpm-software-management/rpm] RFE: Allow automating %setup arguments (#368)

Jeff Johnson notifications at github.com
Sun Dec 10 15:04:41 UTC 2017


@nim-nim: you can likely already do this, provided you have some means to overload %setup before the invocation in the spec file.

Macros are expanded before %setup is processed. So a definition like

%define setup %%setup -c -n whatever

will append (actually interpose, but you can use a parameterized macro if necessary to eat existing arguments/options).

You can also load the definition from macro configuration, and add %{?_setup_args} if that floats your boat.




-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/368#issuecomment-350554474
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20171210/a6018be0/attachment.html>


More information about the Rpm-maint mailing list