summaryrefslogtreecommitdiff
path: root/libappstream-builder
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2017-10-09 13:30:22 +0100
committerRichard Hughes <richard@hughsie.com>2017-10-09 13:30:24 +0100
commita1481d201d089f9e70a0cf48a0424315e0f6cdaf (patch)
treeb27c17cdd21d0e292715106fe6e77f25124a7033 /libappstream-builder
parentf5fb6e40f5aeba2cde1de0406815af876d41be3a (diff)
downloadappstream-glib-a1481d201d089f9e70a0cf48a0424315e0f6cdaf.tar.gz
Write XML for newer AppStream specification versions
Any XML parser should ignore the extra tags or attributes, and so it serves no purpose to artificailly hide these when building metadata for older versions of the specification. This also fixes a bug on i386 where 0.6 != 0.6 and I didn't want to use fabs() all over the place for basically no reason.
Diffstat (limited to 'libappstream-builder')
-rw-r--r--libappstream-builder/asb-self-test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libappstream-builder/asb-self-test.c b/libappstream-builder/asb-self-test.c
index c13ed85..62ceeae 100644
--- a/libappstream-builder/asb-self-test.c
+++ b/libappstream-builder/asb-self-test.c
@@ -491,6 +491,7 @@ asb_test_context_func (void)
"<provides>\n"
"<dbus type=\"session\">org.freedesktop.AppStream</dbus>\n"
"</provides>\n"
+ "<launchable type=\"desktop-id\">app.desktop</launchable>\n"
"<languages>\n"
"<lang percentage=\"100\">en_GB</lang>\n"
"<lang percentage=\"33\">ru</lang>\n"