Guillaume Cottenceau <[EMAIL PROTECTED]> writes:
> > > Stefan van der Eijk <[EMAIL PROTECTED]> writes:
> > >
> > > > Anyway, if you're building packages it might be better to stay off of
> > > > the latest rpm for a while, until the water has cleared ;-)
> > > > Chmouel, agree?
> > >
> > > Hugh i didn't any major thing in the API of rpmlib.
> >
> > humm ok it's the change to the %configure macros, now to fix this use
> > the %makeinstall in the spec file, rather of :
> >
> > make install prefix=foo this=bar
> >
> > %makeinstall should do the job.
>
> Yes but we need to know *why* this happens, in order to compile the
> software which won't support the %makeinstall script..
see the changes in %configure we now specify all the targets of the
%configure and not only the prefix, before with the old %configure the
Makefile was produce like :
prefix=/usr
libdir=$(prefix)/lib
shardir=$(prefix)/share
now it's :
prefix=/usr
libdir=/usr/lib
shardir=/usr/share
so the make install prefix=$RPM_BUILD_ROOT/usr won't work, we had to
say :
make prefix=$RPM_BUILD_ROOT/usr libdir=$RPM_BUILD_ROOT/usr/lib
annoying, isn't ? and %makeinstall is coming to help you to don't
write this each time.
--
MandrakeSoft Inc http://www.mandrakesoft.com
San-Francisco, CA USA --Chmouel