summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Schroeder <mls@suse.de>2014-02-27 14:24:10 +0100
committerMichael Schroeder <mls@suse.de>2014-02-27 14:24:10 +0100
commitbf22dcfb0eed94a29de1e340bcbad2ff1b59b4e4 (patch)
tree3da386951c5547a528cbff653ebd2839acd24210
parent6deb2df6c9379ac5444fffa5c1f70cafea440775 (diff)
downloadlibsolv-bf22dcfb0eed94a29de1e340bcbad2ff1b59b4e4.tar.gz
libsolv-bf22dcfb0eed94a29de1e340bcbad2ff1b59b4e4.tar.bz2
libsolv-bf22dcfb0eed94a29de1e340bcbad2ff1b59b4e4.zip
make "product_license" (appstream) an alias for "licence" (appdata)
-rw-r--r--ext/repo_appdata.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/repo_appdata.c b/ext/repo_appdata.c
index 3d0ebba..bc026c9 100644
--- a/ext/repo_appdata.c
+++ b/ext/repo_appdata.c
@@ -62,6 +62,7 @@ static struct stateswitch stateswitches[] = {
{ STATE_START, "application", STATE_APPLICATION, 0 },
{ STATE_APPLICATION, "id", STATE_ID, 1 },
{ STATE_APPLICATION, "licence", STATE_LICENCE, 1 },
+ { STATE_APPLICATION, "product_license", STATE_LICENCE, 1 },
{ STATE_APPLICATION, "name", STATE_NAME, 1 },
{ STATE_APPLICATION, "summary", STATE_SUMMARY, 1 },
{ STATE_APPLICATION, "description", STATE_DESCRIPTION, 0 },