diff mbox series

spdx30_tasks: Change recipe license to declared

Message ID 20250625222916.11663-1-JPEWhacker@gmail.com
State Accepted, archived
Commit 561447c7cc1485366dbf41cfbf8dcc1cbf29d043
Headers show
Series spdx30_tasks: Change recipe license to declared | expand

Commit Message

Joshua Watt June 25, 2025, 10:29 p.m. UTC
Per discussion with the SPDX licensing group, recipe LICENSE statements
classify as a declared license, not a concluded license.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
---
 meta/lib/oe/spdx30_tasks.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Joshua Watt July 29, 2025, 7:34 p.m. UTC | #1
Looks like this might have gotten missed?

On Wed, Jun 25, 2025 at 4:29 PM Joshua Watt <jpewhacker@gmail.com> wrote:

> Per discussion with the SPDX licensing group, recipe LICENSE statements
> classify as a declared license, not a concluded license.
>
> Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
> ---
>  meta/lib/oe/spdx30_tasks.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/lib/oe/spdx30_tasks.py b/meta/lib/oe/spdx30_tasks.py
> index beeafc2bb7c..5d9f3168d97 100644
> --- a/meta/lib/oe/spdx30_tasks.py
> +++ b/meta/lib/oe/spdx30_tasks.py
> @@ -552,7 +552,7 @@ def create_spdx(d):
>      )
>      build_objset.new_relationship(
>          source_files,
> -        oe.spdx30.RelationshipType.hasConcludedLicense,
> +        oe.spdx30.RelationshipType.hasDeclaredLicense,
>          [oe.sbom30.get_element_link_id(recipe_spdx_license)],
>      )
>
> --
> 2.49.0
>
>
Mathieu Dubois-Briand July 30, 2025, 9:57 a.m. UTC | #2
On Tue Jul 29, 2025 at 9:34 PM CEST, Joshua Watt via lists.openembedded.org wrote:
> Looks like this might have gotten missed?
>
> On Wed, Jun 25, 2025 at 4:29 PM Joshua Watt <jpewhacker@gmail.com> wrote:
>

I see it merged: https://git.openembedded.org/openembedded-core/commit/?id=561447c7cc14
Joshua Watt July 30, 2025, 2:12 p.m. UTC | #3
Ah, OK. I was just being silly and missed the _other_ place it needed to be
changed

On Wed, Jul 30, 2025, 3:57 AM Mathieu Dubois-Briand <
mathieu.dubois-briand@bootlin.com> wrote:

> On Tue Jul 29, 2025 at 9:34 PM CEST, Joshua Watt via
> lists.openembedded.org wrote:
> > Looks like this might have gotten missed?
> >
> > On Wed, Jun 25, 2025 at 4:29 PM Joshua Watt <jpewhacker@gmail.com>
> wrote:
> >
>
> I see it merged:
> https://git.openembedded.org/openembedded-core/commit/?id=561447c7cc14
>
diff mbox series

Patch

diff --git a/meta/lib/oe/spdx30_tasks.py b/meta/lib/oe/spdx30_tasks.py
index beeafc2bb7c..5d9f3168d97 100644
--- a/meta/lib/oe/spdx30_tasks.py
+++ b/meta/lib/oe/spdx30_tasks.py
@@ -552,7 +552,7 @@  def create_spdx(d):
     )
     build_objset.new_relationship(
         source_files,
-        oe.spdx30.RelationshipType.hasConcludedLicense,
+        oe.spdx30.RelationshipType.hasDeclaredLicense,
         [oe.sbom30.get_element_link_id(recipe_spdx_license)],
     )