Borsenkow Andrej wrote on Sun, May 26, 2002 at 09:33:41PM +0400 :
> >
> > I think it would be nice to have:
> > [ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
> > as default in %prep, %install and %clean.
> AFAIK it is currently done automatically as part of %setup and it is not
> done if you use --short-circuit and it must not be done in this case :-)But not the check to see if buildroot is set to /. It's not a big issue though since everybody is building as a regular user and not root. Blue skies... Todd -- Todd Lyons -- MandrakeSoft, Inc. http://www.mandrakesoft.com/ UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things. -- Doug Gwyn Cooker Version mandrake-release-8.3-0.2mdk Kernel 2.4.18-16mdk
msg65001/pgp00000.pgp
Description: PGP signature
