Re: Cleaning out BUILD after a successful package build

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

 



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

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux