summaryrefslogtreecommitdiff
path: root/libappstream-glib
diff options
context:
space:
mode:
authorDominique Leuenberger <dimstar@opensuse.org>2016-08-09 13:30:40 +0200
committerRichard Hughes <richard@hughsie.com>2016-08-09 12:30:40 +0100
commitfe430efc51c0d449e81137955b1ec280b89896bf (patch)
tree9b0ad56da726558858087799baf36aa9125bf36f /libappstream-glib
parent6c64d53e149c2e54357f3540a4e341255a13449f (diff)
downloadappstream-glib-fe430efc51c0d449e81137955b1ec280b89896bf.tar.gz
Add SUSE-Public-Domain to License map (#126)
As 'Public Domain' is not a SPDX-listed license, distributions handle the string differently. SUSE decided to retain the generic SPDX-Format used for other licenses, prefixed with SUSE-.
Diffstat (limited to 'libappstream-glib')
-rw-r--r--libappstream-glib/as-utils.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libappstream-glib/as-utils.c b/libappstream-glib/as-utils.c
index fd0a920..a3317fe 100644
--- a/libappstream-glib/as-utils.c
+++ b/libappstream-glib/as-utils.c
@@ -593,6 +593,7 @@ as_utils_license_to_spdx (const gchar *license)
{ "ZPLv2.0", "ZPL-2.0" },
{ "Unlicense", "CC0-1.0" },
{ "Public Domain", "LicenseRef-public-domain" },
+ { "SUSE-Public-Domain", "LicenseRef-public-domain" },
{ "Copyright only", "LicenseRef-public-domain" },
{ "Proprietary", "LicenseRef-proprietary" },
{ "Commercial", "LicenseRef-proprietary" },