[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Cleaning out BUILD after a successful package build



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

Alexander


-- 
Alexander Dalloz | Enger, Germany | new address - new key: 0xB366A773
legal statement: http://www.uni-x.org/legal.html
Fedora GNU/Linux Core 2 (Tettnang) on Athlon kernel 2.6.8-1.521smp 
Serendipity 18:21:20 up 14 days, 16:00, load average: 0.23, 0.47, 0.44 

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]