rpms/streamtuner/FC-6 streamtuner.spec,1.10,1.11

Michael Schwendt bugs.michael at gmx.net
Fri Nov 24 13:00:19 UTC 2006


On Fri, 24 Nov 2006 11:02:43 +0100, Laurent Rineau wrote:

> > > Update of /cvs/extras/rpms/streamtuner/FC-6
> > >
> > > Log Message:
> > > bump up release once again proper formated
> > >
> > > -Release: 14%{?dist}.1
> >
> > That one was okay.  Most-significant portion left of %dist,
> > least-significant portion to the very right.
> >
> > > +Release: 14.2%{?dist}
> >
> > 14.2 is "higher than" 14.fc and hence not a good idea when using %{?dist}
> 
> I am not sure to understand. The following guidelines:
> http://fedoraproject.org/wiki/Packaging/DistTag#head-5fff04551074fb311a96352be7e7cc3006c90f25
> indicate to put the dist tag at the very end of the release tag.

It is assumed that the release tag consists of just a single integer and
that %{?dist} is appended to that.

> If the previous release tag of streamtuner had been "14.1%{?dist}", would it 
> have been correct? (sorry if I failed to conjugate that sequence correctly.)

14.1%{?dist} is invalid, too, because "1" is higher than "fc". And due to
that, 14.1.fc5 would be higher than 14.fc6 and 14.fc7.

Now, if you tried to avoid that by building as 14.1.fcN for all N dists,
this would be unnecessary and error-prone inflation of release numbers.

Correct would be

  14%{?dist} < 15%{?dist} < 16%{?dist} < ...

and so on. If there's ever reason to fix something only in release 14.fc6,
without bumping release to 15, so that it would be "newer than" 14.fc7,
the release tag can be increased at the very _right_:

  14%{?dist}.1 < 14%{?dist}.2 < ...

resulting in

  14.fc6 < 14.fc6.1 < 14.fc6.2 < 14.fc7




More information about the fedora-extras-list mailing list