summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Schroeder <mls@suse.de>2014-04-17 11:23:12 +0200
committerMichael Schroeder <mls@suse.de>2014-04-17 11:23:12 +0200
commit1a4fc4d68c2a8bd5d027bc2f76d3bfc2c187efea (patch)
tree20ea31b604d1c6073ce343e0789f5786793e1664
parent67ba071573efb19964719240734e2f16d27a6bab (diff)
downloadlibsolv-1a4fc4d68c2a8bd5d027bc2f76d3bfc2c187efea.tar.gz
libsolv-1a4fc4d68c2a8bd5d027bc2f76d3bfc2c187efea.tar.bz2
libsolv-1a4fc4d68c2a8bd5d027bc2f76d3bfc2c187efea.zip
adapt to AppStream 0.6
-rw-r--r--ext/repo_appdata.c2
1 files changed, 2 insertions, 0 deletions
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 },