Packaging:NamingGuidelines Re: DNF is completly unable to act with local packages

Sérgio Basto sergio at serjux.com
Sat Nov 21 23:46:54 UTC 2015


On Sex, 2015-11-20 at 15:18 +0100, Tomas Mraz wrote:
> On Čt, 2015-11-19 at 20:59 +0000, Sérgio Basto wrote:
> > On Qua, 2015-11-18 at 17:11 -0600, Jason L Tibbitts III wrote:
> > > > > > > > "SB" == Sérgio Basto <sergio at serjux.com> writes:
> > > 
> > > SB> When we fix the .spec and don't change the source, we bump
> > > rightmost
> > > SB> version, when we change the source, we bump the left version,
> > > so
> > > we
> > > SB> can distinguish when we update the source and when we updated
> > > the
> > > SB> .spec, this contrast for me is important.
> > > 
> > > For me, the simple rule that a Release: tag less than 1 implies
> > > prerelease software, while a Release: tag of 1 or greater implies
> > > a
> > > post-release package, is important.  So far the proponents of
> > > this
> > > change haven't shown what things would actually look like after
> > > this
> > > change, so it's hard for me to come up with a reason to change my
> > > opinion.
> > 
> > prerelease numbering can't begin with 0 and increased to 0.1
> > because :
> > 
> > next version of foo-0.b would be foo-0.1.b and "b">1 
> 
> Nope, 1>"b" in rpm version compare.

If so, we could begging numeration with 0 for pre-release: 

foo-0.c -> foo-0.c.1 -> foo-0.1.b -> foo-0.1.b.1 -> foo-0.2.a -> foo-
0.2.a.1 

I will write to Fedora-packaging mailing list, proposing changing
Packaging:NamingGuidelines -> Package versioning -> Pre-Release, where
we may or should use the left and the right numeration ... 

Thanks, 

> -- 
> Tomas Mraz
> No matter how far down the wrong road you've gone, turn back.
>                                               Turkish proverb
> (You'll never know whether the road is wrong though.)
> 
> 
-- 
Sérgio M. B.




More information about the devel mailing list