tools-python icon indicating copy to clipboard operation
tools-python copied to clipboard

PrimaryPackagePurpose field output OPERATING_SYSTEM instead of official value OPERATING-SYSTEM

Open loulou123546 opened this issue 1 year ago • 0 comments

In SPDX v2.3, Package can have a property "PrimaryPackagePurpose" which support a defined set of value.

SPDX reference use "OPERATING-SYSTEM" value while the spdx_tools library output "OPERATING_SYSTEM" with underscore instead of dash. This may cause issue with ingestion of SPDX by other tools considered as invalid.

Reference: https://spdx.github.io/spdx-spec/v2.3/package-information/#724-primary-package-purpose-field

loulou123546 avatar Oct 01 '24 15:10 loulou123546