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: https://github.com/rpm-software-management/rpm/issues/1687#issuecomment-900134029
_______________________________________________ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint