RPM build process without installing

Posted by facha on Stack Overflow See other posts from Stack Overflow or by facha
Published on 2011-09-13T15:09:30Z Indexed on 2012/12/08 23:05 UTC
Read the original article Hit count: 272

Filed under:
|

I'm trying to build my own rpm package and have a couple of doubts.

First of all, in several places I've red that one shouldn't build rpms as root. Why is that? During the building process, rpmbuild has to go through the install stage where it installs files to the system.

As far as I understand I can't do that if I'm not root. rpmbuild process finishes with error. So, the question is if it is really possible to build an rpm without installing stuff into the system? Or eventually I do have to become root to complete the build process?

© Stack Overflow or respective owner

Related posts about rpm

Related posts about rpmbuild