]> code.ossystems Code Review - openembedded-core.git/commitdiff
license.bbclass: Add spdx mapping to GPL-1.0
authorElizabeth Flanagan <elizabeth.flanagan@intel.com>
Fri, 23 Mar 2012 23:51:40 +0000 (16:51 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 25 Mar 2012 10:08:14 +0000 (11:08 +0100)
Perl is GPL-1.0. For consistency sake, adding an spdx map for
GPLv1

Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/license.bbclass

index 9459b0027ff8a0cc72686e142185e67e8eef24d7..40dcbeba33427f212eae42fee2cef0bc588b6b32 100644 (file)
@@ -18,12 +18,14 @@ do_populate_lic[cleandirs] = "${LICSSTATEDIR}"
 # We should really discuss standardizing this field, but that's a longer term goal.
 # For now, we can do this and it should grab the most common LICENSE naming variations.
 #
-# Changing GPL mapping to GPL-2 as it's not very likely to be GPL-1
 # We should NEVER have a GPL/LGPL without a version!!!!
 # Any mapping to MPL/LGPL/GPL should be fixed
 # see: https://wiki.yoctoproject.org/wiki/License_Audit
 
 # GPL variations
+SPDXLICENSEMAP[GPL-1] = "GPL-1.0"
+SPDXLICENSEMAP[GPLv1] = "GPL-1.0"
+SPDXLICENSEMAP[GPLv1.0] = "GPL-1.0"
 SPDXLICENSEMAP[GPL-2] = "GPL-2.0"
 SPDXLICENSEMAP[GPLv2] = "GPL-2.0"
 SPDXLICENSEMAP[GPLv2.0] = "GPL-2.0"