On Wed, 2015-05-06 at 10:24 +0200, Ralf Corsepius wrote:
> On 05/06/2015 09:21 AM, Petr Pisar wrote:
> > On 2015-05-05, Alexander Ploumistos <alex.ploumis...@gmail.com> wrote:
> >> What irks me the most, is that the version of the source package is
> >> 3.80-1 and this is reflected in the spec file macros (Version: 3.80,
> >> Release 1),
> >
> > It depends on the meaning of the upstream's `-1'. Basically, I would
> > interpret it as yet another version level, i.e. as `3.80.1'. If the upstream
> > tends to release `3.80.1-1', I'd interpret `3.80-1' as `3.80.0.1'.
> 
> This is one common practice. I personally use "_" for local packages in 
> such occasions (IIRC, rpm doesn't care whether "_" or "." is used).

Indeed:

  $ rpmdev-vercmp 1.0-1 1_0-1
  1.0-1 == 1_0-1

Thanks, I had never realized that. :)


-- 
Mathieu

-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Reply via email to