Skip to content

Commit 8bb976a

Browse files
Rico-van-Dongennashif
authored andcommitted
scripts: west_commands: zspdx: re-naming PACKAGE-MANAGER
According to the SPDX specification PACKAGE-MANAGER should be spelled with a dash not an underscore Signed-off-by: Rico van Dongen <[email protected]>
1 parent 02da120 commit 8bb976a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/west_commands/zspdx/writer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ def writePackageSPDX(f, pkg, spdx_version=SPDX_VERSION_2_3):
119119
if re.fullmatch(CPE23TYPE_REGEX, ref):
120120
f.write(f"ExternalRef: SECURITY cpe23Type {ref}\n")
121121
elif re.fullmatch(PURL_REGEX, ref):
122-
f.write(f"ExternalRef: PACKAGE_MANAGER purl {ref}\n")
122+
f.write(f"ExternalRef: PACKAGE-MANAGER purl {ref}\n")
123123
else:
124124
log.wrn(f"Unknown external reference ({ref})")
125125

0 commit comments

Comments
 (0)