<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On 15 January 2016 at 11:15, Richard Purdie <span dir="ltr">&lt;<a href="mailto:richard.purdie@linuxfoundation.org" target="_blank">richard.purdie@linuxfoundation.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":39j" class="a3s" style="overflow:hidden">Can we just call this 1.42+1.43-git${SRCPV}?<br></div></blockquote></div><br>I&#39;ve a branch somewhere which added test cases for each package manager to exercise the ~ codepaths in the package managers (where 1.42 &lt; 1.43~git &lt; 1.43) with &quot;interesting&quot; conclusions:</div><div class="gmail_extra"><br></div><div class="gmail_extra">* dpkg works just fine</div><div class="gmail_extra">* opkg&#39;s version compare logic is reimplemented three times, differently, and the tool for comparing versions from the shell is one of those implementations, at best returns inverted results, and at worse is non-deterministic.</div><div class="gmail_extra">* rpm has no way to compare versions from the shell</div><div class="gmail_extra"><br></div><div class="gmail_extra">Something else to chip away at during this cycle I guess. Maybe in 2.2 we&#39;ll be able to confidently use ~ in versions!</div><div class="gmail_extra"><br></div><div class="gmail_extra">Ross</div></div>