On Wed, 2004-11-03 at 19:21, Alexander Dalloz wrote: > Am Mi, den 03.11.2004 schrieb Cameron, Thomas um 17:37: > > > I notice that after I run rpmbuild on package foo-1.0 (for instance) which I've built, I have the BUILD/foo-1.0 directory left over. > > > > What do I need to add to the spec file to make the rpmbuild process delete that directory afterwards? > > %clean > rm -rf $RPM_BUILD_ROOT That's a different thing, Thomas was talking about cleaning the directory where the thing is *compiled*, not build *root*. "rpmbuild -bb --clean foo.spec" will clean out the BUILD/foo-1.0 after the build completes. - Panu - _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list