Currently plus separator is equal to others (1.0 == 1+0). We want to
introduce "meaning" for this separator.

1.1+20160101 means 1.1 version (base) and patches which were applied at
that date on top of it.

* 1.1+201601 > 1.1
* 1.1+201601 < 1.1.1

Second case might be fulfilled with tilde separator, but it's not obvious
and doesn't fulfil first case.

Signed-off-by: Igor Gnatenko <i.gnatenko.br...@gmail.com>
You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/88

-- Commit Summary --

  * Add support for sorting '+' higher than base verion

-- File Changes --

    M lib/rpmvercmp.c (18)
    M tests/rpmvercmp.at (48)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/88.patch
https://github.com/rpm-software-management/rpm/pull/88.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/88
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to