On Tue, 2006-07-11 at 22:25 -0400, Matthew Miller wrote: > On Tue, Jul 11, 2006 at 09:24:57PM -0400, Jeremy Katz wrote: > > > The "all caps" hardcoded dist tag is wrong. Instead, you should use > > > %{?dist} to let the buildsystem (both plague and brew support this) > > > determine what the distribution tag is. It will fill in %{dist} > > > with .fc6, for example. The dist tag bits are documented here: > > > http://fedoraproject.org/wiki/DistTag > > > Hardcoding the value for the dist tag is no longer allowed, since the > > > buildsystem can do it for you. > > I thought that things allowed hardcoding as long as you used the "right" > > value. Granted, doing so is probably kind of silly, but forcing > > syntactic sugar is also overkill > > Also, 'cause sometimes maybe your spec file _is_ specifically for that > release for some reason, and it's too different for a bunch of %ifs to make > sense? Even in those cases, %{dist} will always be correct. ~spot -- Tom "spot" Callaway: Red Hat Technical Team Lead || GPG ID: 93054260 Fedora Extras Steering Committee Member (RPM Standards and Practices) Aurora Linux Project Leader: http://auroralinux.org Lemurs, llamas, and sparcs, oh my!