2009/6/2 Kaj Niemi <kaj...@basen.net>: > <offtopic> > Please consider compiling and building packages as a non-privileged user > rather than as root. It will save you a lot of headache especially if > something unexpected happens (install script screws up on directory where > it's supposed to install). Using another directory structure, for example > below your home dir (or anywhere else for that matter) is easy and you can > set the directories in your .rpmrc and .rpmmacros files in your own home > directory. > > For repeatable, consistent and auditable builds consider using mock or > another tool which creates a dedicated build environment every time you > build a package with a build environment that is "known good" > </offtopic>
Doing things safely to avoid shooting yourself in the foot is left as an exercise for the reader :) (yeah, this was an expendable system that was ideal for demonstration)