make tag and %{?dist}

Ignacio Vazquez-Abrams ivazquez at ivazquez.net
Wed May 4 03:39:44 UTC 2005


On Tue, 2005-05-03 at 23:22 -0400, Matthew Miller wrote:
> On Tue, May 03, 2005 at 10:13:56PM -0500, Josh Boyer wrote:
> > With what I'm proposing, 'make tag' would expand %{dist} based on the
> > CVS branch it was run in, and the CVS tags would be different.  Now you
> > can use the exact same spec file for both branches (assuming there are
> > no functional differences), and builds can still occur.  Problem
> > solved.  
> 
> Okay, maybe I'm confused now. I don't understand why you would tie this to
> the (somewhat arbitrary and external) CVS branch rather than to the direct
> connection -- what release the system you build the package on is running.

Running 'make tag' in a branch should theoretically create a tag
appropriate for the branch regardless of what actual version is being
used. This is why you have the make system fill in %dist appropriately
and then use it in the spec file.

-- 
Ignacio Vazquez-Abrams <ivazquez at ivazquez.net>
http://fedora.ivazquez.net/

gpg --keyserver hkp://subkeys.pgp.net --recv-key 38028b72
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-extras-list/attachments/20050503/c7a8f69c/attachment.sig>


More information about the fedora-extras-list mailing list