Alexander Skwar <[EMAIL PROTECTED]> writes:
> > It would be much easier for anyone to make rpm with this ...
> > Maybe i don't understand a trick which make theses unnecessary.
>
> fakeroot isn't needed. All the Mandrake RPMs (besides the kernel.src.rpm)
> are buildable as a user. When you write your spec you just use %configure
> and %makeinstall, and everything is taken care off. What this does is, that
> configure gets called with --prefix=%{_prefix} (/usr), but in the make
> install phase, make get's called with make prefix=%buildroot%{_prefix},
> which will most always give ~/RPM/tmp/package-name/usr, if you follow the
> Mandrake RPM howto.
sometimes you've to prevent make provide user and group to
install. But with some hacks, such packages (dev and the like) can be
build as non-root.