So sprach Fr�d�ric Leroy am Wed, Nov 08, 2000 at 06:12:04PM +0100:
>   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.

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:       http://www.digitalprojects.com  |  http://www.dp.ath.cx
GnuPG ID:       4E35467E  FP: 93367E5B4AB777B42065533F456FF17C4E35467E
ICQ:            7328191

Reply via email to