I studying dpkg and rpm package systems. I found in dpkg manuals recommendation to use fakeroot for correct build package as non-root user. But for RPM package i don't found alternative utility. I read several manuals for build rpm packages and they recommend to build rpm package as root, or create special user and use rpm-setuptree utility (of course, may be it manuals is bad).
Have fakeroot alternative for RPM build? And may be for RPM not need fakeroot alternative and using correct build options and spec file help me to avoid all problems?