]> git.apps.os.sepia.ceph.com Git - teuthology.git/commit
buildpackages: populate version file with RPM version
authorNathan Cutler <ncutler@suse.com>
Fri, 10 Feb 2017 22:09:02 +0000 (23:09 +0100)
committerKyr Shatskyy <kyrylo.shatskyy@suse.com>
Mon, 14 Oct 2019 14:47:01 +0000 (16:47 +0200)
commit43396251f85c3bbf9897537dd8af23c6d122a371
tree51c2f17d0d607634bc7748c5e0c0c91b31111744
parent3e99706544cad5e3016a32b6ecb0912345e02a2b
buildpackages: populate version file with RPM version

Until now, the "version" file contained a string like 10.2.5-6244-g9027e75

The RPM version obtained by doing "rpm -q $PKG --qf %{VERSION}-%{RELEASE}"
looks like this: 10.2.5-6244.g9027e75

When teuthology compares these two strings, they don't match even though
the version numbers are effectively the same.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
teuthology/task/buildpackages/make-rpm.sh