Comment 2 for bug 1586981

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to packetary (master)

Reviewed: https://review.openstack.org/322744
Committed: https://git.openstack.org/cgit/openstack/packetary/commit/?id=2bd9a9415d70d4ddb5abdda8c595b316010aa3ef
Submitter: Jenkins
Branch: master

commit 2bd9a9415d70d4ddb5abdda8c595b316010aa3ef
Author: Sergey Kulanov <email address hidden>
Date: Mon May 30 12:53:24 2016 +0300

    [rpm] Handle the tilde separator in versioning

    We need correctly handle the tidle separator in RPM versioning [1]:
    eg:
       rpmdev-vercmp 1:8.0.0~b3 1:8.0.0
           1:8.0.0~b3 < 1:8.0.0
           1:8.0.1~b3 > 1:8.0.0
           1:8.0.0~b3 < 1:8.0.1~c1
           1:8.0.0~b3 > 1:8.0.0~a1

    [1]. http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/

    Change-Id: I4a3c867a603a595515e76ee6f4415177a407a0b8
    Closes-bug: #1586981