Version shows Release and dist tag?

Pavel Raiskup praiskup at redhat.com
Mon Feb 16 10:02:09 UTC 2015


On Sunday 15 of February 2015 17:16:34 Richard Shaw wrote:
> On Fri, Feb 13, 2015 at 12:20 PM, Miroslav Suchy <msuchy at redhat.com> wrote:
> 
> > On 02/13/2015 05:26 PM, Richard Shaw wrote:
> >
> >>
> >> I added a comment to the BZ... The release doesn't really bother me but
> >> it takes the dist tag from the SRPM which I think is a bad idea, and
> >> since the repos are separate for each release, I don't think it provides
> >> any useful purpose.
> >>
> >
> > Technically dist tag *is* part of release number.
> 
> 
> Meh... You're obviously right, but I really don't like reporting of the
> dist tag from the SRPM, it's potentially confusing and useless.

I agree.  It leads to confusion.  What is not nice that removing of
dist-tag from 'rpm --qf %{RELEASE}' would lead to some ugly regexp.

FWIW, the code you could possibly edit is update_job_pkg_version().

Pavel



More information about the copr-devel mailing list