desktop: use tilde for 'rc' separation in version scheme.

In other words, number the release candidates: 2.10.0~rc*.
In any case, this makes `rpmdev-vercmp` to consider them before 2.10.0,
unlike using a hyphen separator.

Though I still leave the <releases> trick from commit fb6328b9ad so that
our unit test succeeds, since `appstream-util` still considers the other
order.
This commit is contained in:
Jehan 2018-04-26 13:16:20 +02:00
parent f7788becaa
commit 6057828582
1 changed files with 2 additions and 2 deletions

View File

@ -127,7 +127,7 @@
</releases>
<releases>
<release version="2.10.0-rc2" date="2018-04-17" type="development">
<release version="2.10.0~rc2" date="2018-04-17" type="development">
<description>
<_p>
In this second release candidate before GIMP 2.10.0, while
@ -154,7 +154,7 @@
<_p>For more information, see https://www.gimp.org/news/2018/04/17/gimp-2-10-0-rc2-released/</_p>
</description>
</release>
<release version="2.10.0-rc1" date="2018-03-26" type="development">
<release version="2.10.0~rc1" date="2018-03-26" type="development">
<description>
<_p>
GIMP 2.10.0-RC1 is the first release candidate before GIMP