rpms/blam/F-9 blam.spec,1.24,1.25

Michael Schwendt mschwendt at gmail.com
Wed Sep 24 21:56:16 UTC 2008


On Wed, 24 Sep 2008 16:51:39 -0400, Christopher Aillon wrote:

[bumpspecfile]

> I'd also like to see it bump 1.1{?dist} -> 1.2{?dist} instead of 
> 2.1{?dist} without needing to pass an option.

It was made to cover the most common versioning schemes used in the Fedora
package collection without passing an option. 

How does it know whether Y in X.Y is not a cvs/svn/post-release/date
identifier or number that it must not touch?

  Such as:
  1.0-1.a%{?dist}  for  version 1.0a (post-1.0 update)
  1.0-1.20080901%{?dist}  for a scm checkout


Side-note: 1.1%{?dist} to begin with may be fine, but only if you
use exactly the same versioning scheme for all %dists. Else you
break the upgrade path too easily, e.g. if an older dist bumps
1%{?dist} to 1.1%{?dist}, which then compares .1 to %{?dist},
and 1 is greater than all fedora dist tags.




More information about the devel mailing list