Re: rawhide report: 20060929 changes

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

 



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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux