[Rpm-maint] [rpm-software-management/rpm] [RFC] Add support for sorting the plus ('+') higher than base version (#924)

Javier Martinez Canillas notifications at github.com
Mon Nov 4 14:27:18 UTC 2019

This commit adds supports for sorting the plus ('+') character higher than
base version. It's similar to what commit c7e711bba58 ("Add support for
sorting caret ('^') higher than base version") did for the caret character.

A plus character is used for example by the Linux kernel build system to
denote that is the base version plus some changes on top of it.

Currently for example rpmvercmp("5.3.0", "5.3.0+") will return 0 even when
the two versions are not the same.
You can view, comment on, or merge this pull request online at:


-- Commit Summary --

  * Add support for sorting the plus ('+') higher than base version

-- File Changes --

    M build/pack.c (4)
    M lib/rpmds.c (3)
    M lib/rpmvercmp.c (15)
    M tests/rpmvercmp.at (32)

-- Patch Links --


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20191104/504afdf0/attachment-0001.html>

More information about the Rpm-maint mailing list