7ff5f5c
From 5d70bed99672f4f2cde27753a77f7bd62b2f17cd Mon Sep 17 00:00:00 2001
7ff5f5c
From: Kalev Lember <klember@redhat.com>
7ff5f5c
Date: Thu, 7 Oct 2021 00:36:25 +0200
7ff5f5c
Subject: [PATCH] Use tilde for pre-release versioning in appdata
7ff5f5c
7ff5f5c
Version 1.3-rc is considered to be higher than 1.3 as per appdata
7ff5f5c
version comparison logic, which leads to 'appstream-util validate-relax'
7ff5f5c
complaining:
7ff5f5c
7ff5f5c
<release> versions are not in order [1.3 before 1.3-rc1]
7ff5f5c
7ff5f5c
Fix this by using tilde instead of a dash to make sure 1.3~rc sorts
7ff5f5c
lower than 1.3.
7ff5f5c
---
7ff5f5c
 data/supertuxkart.appdata.xml | 2 +-
7ff5f5c
 1 file changed, 1 insertion(+), 1 deletion(-)
7ff5f5c
7ff5f5c
diff --git a/data/supertuxkart.appdata.xml b/data/supertuxkart.appdata.xml
7ff5f5c
index fc8d7648b..e0bbf6660 100644
7ff5f5c
--- a/data/supertuxkart.appdata.xml
7ff5f5c
+++ b/data/supertuxkart.appdata.xml
7ff5f5c
@@ -345,7 +345,7 @@
7ff5f5c
     <release version="1.3" date="2021-09-28">
7ff5f5c
       <url>https://blog.supertuxkart.net/2021/09/supertuxkart-13-release.html</url>
7ff5f5c
     </release>
7ff5f5c
-    <release version="1.3-rc1" date="2021-08-31">
7ff5f5c
+    <release version="1.3~rc1" date="2021-08-31">
7ff5f5c
       <url>https://blog.supertuxkart.net/2021/08/supertuxkart-13-release-candiate.html</url>
7ff5f5c
     </release>
7ff5f5c
     <release version="1.2" date="2020-08-27"/>
7ff5f5c
-- 
7ff5f5c
2.31.1
7ff5f5c