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. -- fedora-devel-list mailing list fedora-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-devel-list