]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
spdx30_tasks: Change package license to declared
authorJoshua Watt <jpewhacker@gmail.com>
Mon, 18 Aug 2025 19:55:43 +0000 (13:55 -0600)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 20 Aug 2025 20:47:33 +0000 (21:47 +0100)
Per discussion with SPDX licensing group, the package license statements
classify as declared licenses, not concluded licenses.

Note that this is the same as a change made to the recipe licenses, just
for packages.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/spdx30_tasks.py

index c352dab1520dcecbfcc6a7dc4ab8f05dfdb6601b..f2f133005d8aa05631d546b46ee00a24efad9d51 100644 (file)
@@ -696,7 +696,7 @@ def create_spdx(d):
 
             pkg_objset.new_relationship(
                 [spdx_package],
-                oe.spdx30.RelationshipType.hasConcludedLicense,
+                oe.spdx30.RelationshipType.hasDeclaredLicense,
                 [oe.sbom30.get_element_link_id(package_spdx_license)],
             )