building own RPMs

Matthew Miller mattdm at mattdm.org
Sun Dec 26 19:27:31 UTC 2004


On Sun, Dec 26, 2004 at 04:36:54PM +0100, msilber wrote:
> but latest at "make install" I need to be root, nor?

This is *exactly* why you shouldn't be. You need to make it install into the
"buildroot" (a confusing name -- it's where the _package_ is assembled from
generated files, not where the code is built). Many modern makefiles support
this easily -- use the macro "%makeinstall" in the spec file where you would
use 'make install'. However, a lot don't, and require a bit of patching.

-- 
Matthew Miller           mattdm at mattdm.org        <http://www.mattdm.org/>
Boston University Linux      ------>                <http://linux.bu.edu/>




More information about the fedora-devel-list mailing list