Closed #1687.
--
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/1687#event-5167695363___
Rpm-maint mailing list
Yes %setup is only executed after all macros have been expanded. So there is
not really a way to do that and relying on $PWD is your best option.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
What I'd like to achieve is to access `%buildsubdir` in `%prep` after `%setup`
was called. It appears that RPM first parses and evaluates all macros in
`%prep` and only then executes `%setup` which pushes `%buildsubdir`. So my
question is there any way to defer macro expansion or is there some