Closed #510.
--
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/510#event-1800052994___
Rpm-maint mailing list
rpmbuild --root should do what is expected, namely do a chroot into the prefix
before running scripts.
Yes chroot(2) requires root, thank you POSIX. To preserve the mantra "Never
invoke rpmbuild as root" behavior, rpmbuild should drop root privileges, and
switch back to root only when needed.