diff mbox series

[1/2] create-spdx-2.2: Correct the default value of SPDX_NAMESPACE_PREFIX

Message ID 20240214214905.149929-1-m.belouarga@technologyandstrategy.com
State New
Headers show
Series [1/2] create-spdx-2.2: Correct the default value of SPDX_NAMESPACE_PREFIX | expand

Commit Message

belouargamohamed@gmail.com Feb. 14, 2024, 9:49 p.m. UTC
From: BELOUARGA Mohamed <m.belouarga@technologyandstrategy.com>

This patch corrects the default value of SPDX_NAMESPACE_PREFIX as the previous
value is not expected to exist.

[ YOCTO #15398 ]

Signed-off-by: BELOUARGA Mohamed <m.belouarga@technologyandstrategy.com>
---
 meta/classes/create-spdx-2.2.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Alexandre Belloni Feb. 15, 2024, 9:26 a.m. UTC | #1
Hello,

This is 1/2, but I couldn't find a 2/2.

On 14/02/2024 22:49:05+0100, belouargamohamed@gmail.com wrote:
> From: BELOUARGA Mohamed <m.belouarga@technologyandstrategy.com>
> 
> This patch corrects the default value of SPDX_NAMESPACE_PREFIX as the previous
> value is not expected to exist.
> 
> [ YOCTO #15398 ]
> 
> Signed-off-by: BELOUARGA Mohamed <m.belouarga@technologyandstrategy.com>
> ---
>  meta/classes/create-spdx-2.2.bbclass | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta/classes/create-spdx-2.2.bbclass b/meta/classes/create-spdx-2.2.bbclass
> index 486efadba9..dedaffc043 100644
> --- a/meta/classes/create-spdx-2.2.bbclass
> +++ b/meta/classes/create-spdx-2.2.bbclass
> @@ -28,7 +28,7 @@ SPDX_ARCHIVE_SOURCES ??= "0"
>  SPDX_ARCHIVE_PACKAGED ??= "0"
>  
>  SPDX_UUID_NAMESPACE ??= "sbom.openembedded.org"
> -SPDX_NAMESPACE_PREFIX ??= "http://spdx.org/spdxdoc"
> +SPDX_NAMESPACE_PREFIX ??= "https://spdx.org/spdxdocs"
>  SPDX_PRETTY ??= "0"
>  
>  SPDX_LICENSES ??= "${COREBASE}/meta/files/spdx-licenses.json"
> -- 
> 2.25.1
> 

> 
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#195500): https://lists.openembedded.org/g/openembedded-core/message/195500
> Mute This Topic: https://lists.openembedded.org/mt/104362313/3617179
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [alexandre.belloni@bootlin.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
Peter Kjellerstedt Feb. 15, 2024, 11:18 a.m. UTC | #2
> -----Original Message-----
> From: openembedded-core@lists.openembedded.org <openembedded-
> core@lists.openembedded.org> On Behalf Of Alexandre Belloni via
> lists.openembedded.org
> Sent: den 15 februari 2024 10:26
> To: belouargamohamed@gmail.com
> Cc: openembedded-core@lists.openembedded.org;
> f.lahoudere@technologyandstrategy.com; BELOUARGA Mohamed
> <m.belouarga@technologyandstrategy.com>
> Subject: Re: [OE-core] [PATCH 1/2] create-spdx-2.2: Correct the default
> value of SPDX_NAMESPACE_PREFIX
> 
> Hello,
> 
> This is 1/2, but I couldn't find a 2/2.

The 2/2 patch was sent to docs@lists.yoctoproject.org.

//Peter
diff mbox series

Patch

diff --git a/meta/classes/create-spdx-2.2.bbclass b/meta/classes/create-spdx-2.2.bbclass
index 486efadba9..dedaffc043 100644
--- a/meta/classes/create-spdx-2.2.bbclass
+++ b/meta/classes/create-spdx-2.2.bbclass
@@ -28,7 +28,7 @@  SPDX_ARCHIVE_SOURCES ??= "0"
 SPDX_ARCHIVE_PACKAGED ??= "0"
 
 SPDX_UUID_NAMESPACE ??= "sbom.openembedded.org"
-SPDX_NAMESPACE_PREFIX ??= "http://spdx.org/spdxdoc"
+SPDX_NAMESPACE_PREFIX ??= "https://spdx.org/spdxdocs"
 SPDX_PRETTY ??= "0"
 
 SPDX_LICENSES ??= "${COREBASE}/meta/files/spdx-licenses.json"