Bug 1702893 - versions are not in order
Summary: versions are not in order
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: libappstream-glib
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Richard Hughes
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1700839
TreeView+ depends on / blocked
 
Reported: 2019-04-25 07:26 UTC by Mattia Verga
Modified: 2019-04-25 13:48 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-04-25 12:51:03 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Mattia Verga 2019-04-25 07:26:27 UTC
Rawtherapee build is failing because appstream-util thinks that 5.6 should be older than 5.6-rc2.
https://kojipkgs.fedoraproject.org//work/tasks/7008/34377008/build.log
? tag-invalid : <release> versions are not in order [5.6 before 5.6-rc2]

I've found a bug report upstream where it seems this should be fixed in 0.7.15, but clearly it isn't:
https://github.com/hughsie/appstream-glib/issues/234

Comment 1 Kalev Lember 2019-04-25 07:47:36 UTC
I believe appstream-util is correct here. rpm-vercmp also agrees with it:

$ rpmdev-vercmp 5.6 5.6-rc2
5.6 < 5.6-rc2

For 5.6 rc2 to be considered older than 5.6 you need a tilde in the version, so that it reads 5.6~rc2

Comment 2 Mattia Verga 2019-04-25 12:51:03 UTC
Ah, I misunderstood what I read in the upstream issue.

I will ask RawTherapee to correct the release naming using a tilde, or I will patch appstream file downstream.

Sorry for the noise.

Comment 3 Kalev Lember 2019-04-25 13:48:31 UTC
No problem at all!


Note You need to log in before you can comment on or make changes to this bug.