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
Reviewed: https:/ /review. openstack. org/322744 /git.openstack. org/cgit/ openstack/ packetary/ commit/ ?id=2bd9a9415d7 0d4ddb5abdda8c5 95b316010aa3ef
Committed: https:/
Submitter: Jenkins
Branch: master
commit 2bd9a9415d70d4d db5abdda8c595b3 16010aa3ef
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]:
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
eg:
[1]. http:// blog.jasonantma n.com/2014/ 07/how- yum-and- rpm-compare- versions/
Change-Id: I4a3c867a603a59 5515e76ee6f4415 177a407a0b8
Closes-bug: #1586981