classes/create-spdx-2.2: Fix CPE reference type
PATCH 1/1 classes/create-spdx-2.2: Fix CPE reference type
The CPE reference type should be the short name ("cpe23Type") not the full RDF IRI.
Signed-off-by Joshua Watt <[email protected]>
--- meta/classes/create-spdx-2.2.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/classes/create-spdx-2.2.bbclass +1 -1
@@ -489,7 +489,7 @@ python do_create_spdx() { for cpe_id in cpe_ids: cpe = oe.spdx.SPDXExternalReference() cpe.referenceCategory = "SECURITY" - cpe.referenceType = "http://spdx.org/rdf/references/cpe23Type" + cpe.referenceType = "cpe23Type" cpe.referenceLocator = cpe_id recipe.externalRefs.append(cpe)
Signature · 1 line
2.52.0