On Fri, 2006-10-13 at 14:11 +0200, Michael Schwendt wrote: > On Fri, 13 Oct 2006 10:25:36 +0200, Ralf Corsepius wrote: > > > Whether a package does a > > > > %build > > make something > > make install-something DESTDIR=$RPM_BUILD_ROOT > > export LD_LIBRARY_PATH=$RPM_BUILD_ROOT%{_lib} > > make all > > %install > > rm -rf $RPM_BUILD_ROOT > > make install DESTDIR=$RPM_BUILD_ROOT > > > > or a > > > > %build > > make something > > make install-something DESTDIR=$(PWD)/tmp > > export LD_LIBRARY_PATH=(PWD)/tmp%{_lib} > > make all > > %install > > rm -rf $(PWD)/tmp > > rm -rf $RPM_BUILD_ROOT > > make install DESTDIR=$RPM_BUILD_ROOT > > > > doesn't make a real difference. > > It does. ;) > > The former installs into $RPM_BUILD_ROOT without doing "rm -rf > $RPM_BUILD_ROOT" first. It would need to do this at the beginning of > %build (!). hastly off-head scribbled pseudo-code", you know? The real world case in FE, I am facing this issue with, does have an rm -rf $RPM_BUILD_ROOT in %build ;) Ralf -- Fedora-packaging mailing list Fedora-packaging@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-packaging