From 945238a8d965e8fd65d5e4036bb8b8cd2e39399f Mon Sep 17 00:00:00 2001 From: Harald Sitter Date: Thu, 13 Jul 2017 17:03:07 +0200 Subject: [PATCH] trivial: adjust docs to clearly state that licenses are SPDX expressions Previously the doc was a bit ambiguous about the actual format employed for licenses. The format expectation is the actual SPDX license expression format as described in the SPDX specification. Clearly state this and point to the specification URL for reference on the format. Additionally, while SPDX must be parsed as case-insensitive it's considered best practice to use strict-casing in examples, so change to that. Closes #122 --- docs/sources/collection/xmldata.xml | 4 ++-- docs/sources/metainfo/component.xml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/sources/collection/xmldata.xml b/docs/sources/collection/xmldata.xml index 0761a340..0052b8ae 100644 --- a/docs/sources/collection/xmldata.xml +++ b/docs/sources/collection/xmldata.xml @@ -168,11 +168,11 @@ The <project_license/> tag is indicating the license of the component. - It should be a string in SPDX format. Licenses may be combined using and and or logic. + It should be a SPDX license expression. Possible values include: GPL-2.0 - LGPL-3.0+ and GPL-3.0+ + LGPL-3.0+ AND GPL-3.0+ MIT CC-BY-SA-2.0 ... diff --git a/docs/sources/metainfo/component.xml b/docs/sources/metainfo/component.xml index 04a069c9..1819991a 100644 --- a/docs/sources/metainfo/component.xml +++ b/docs/sources/metainfo/component.xml @@ -521,11 +521,11 @@ The <project_license/> tag is indicating the license of the component (application/library/addon/font/etc.) described in the metadata document. - It should be a string in SPDX format. Licenses may be combined using and and or logic. + It should be a SPDX license expression. Possible values include: GPL-2.0 - LGPL-3.0+ and GPL-3.0+ + LGPL-3.0+ AND GPL-3.0+ MIT CC-BY-SA-2.0