[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: rawhide report: 20060929 changes
- From: Michael Schwendt <fedora wir-sind-cool org>
- To: fedora-devel-list redhat com
- Subject: Re: rawhide report: 20060929 changes
- Date: Mon, 2 Oct 2006 09:50:56 +0200
On Sun, 01 Oct 2006 20:12:38 -0400, Jon Nettleton wrote:
> I see the use of rm commands all the time in spec files. Can anyone
> explain why this is used instead of the %exclude directive? Not
> important, just curious because excluding files seems like a much safer
> and elegant solution.
rpmbuild fails if in the build root no filenames match the %exclude
pattern, which can happen when using a single spec file for multiple
targets. Hence "rm -f" is safer, because it works fine also with
non-existant files.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]