make tag and %{?dist}

John Dennis jdennis at redhat.com
Wed May 4 02:45:12 UTC 2005


On Tue, 2005-05-03 at 21:57 -0400, Matthew Miller wrote:
> On Tue, May 03, 2005 at 08:50:47PM -0500, Josh Boyer wrote:
> > According to http://www.fedoraproject.org/wiki/DistTag one can append
> > %{?dist} to the Release field in the spec file and it will be expanded
> > to the correct value when the package is built by the build system.
> > However, unless the spec file contains something like:
> > %define dist .fc4
> 
> Presumably, the build system defines this so it doesn't have to be in the
> spec files.

One would hope so, but it doesn't. One would think the build system
could bump the release number too, but it doesn't. It's still a manual
error prone process dependent on spec file editing, CVS commits, and
make tags. The good news is the build system won't accept duplicates.

Caveat: My comments refer to the core build system, I believe Seth is
working on a build system for extras and perhaps he has addressed this
issue. However, it would be a shame if the core build system and the
extras build system were divergent in such a fundamental way.
-- 
John Dennis <jdennis at redhat.com>




More information about the fedora-extras-list mailing list