From 1a4fc4d68c2a8bd5d027bc2f76d3bfc2c187efea Mon Sep 17 00:00:00 2001 From: Michael Schroeder Date: Thu, 17 Apr 2014 11:23:12 +0200 Subject: adapt to AppStream 0.6 --- ext/repo_appdata.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ext/repo_appdata.c b/ext/repo_appdata.c index 63c03fc..2d3fc37 100644 --- a/ext/repo_appdata.c +++ b/ext/repo_appdata.c @@ -62,7 +62,9 @@ struct stateswitch { /* !! must be sorted by first column !! */ static struct stateswitch stateswitches[] = { { STATE_START, "applications", STATE_START, 0 }, + { STATE_START, "components", STATE_START, 0 }, { STATE_START, "application", STATE_APPLICATION, 0 }, + { STATE_START, "component", STATE_APPLICATION, 0 }, { STATE_APPLICATION, "id", STATE_ID, 1 }, { STATE_APPLICATION, "pkgname", STATE_PKGNAME, 1 }, { STATE_APPLICATION, "product_license", STATE_LICENCE, 1 }, -- cgit v1.2.3