diff mbox series

[meta-tensorflow,1/1] openjdk-21-native: use non-deprecated SPDX license ID

Message ID 20261130052117.386296-2-Swati.ShivajiKoli@windriver.com
State New
Headers show
Series openjdk-21-native: use non-deprecated SPDX license ID | expand

Commit Message

Swati Koli Nov. 30, 2026, 5:21 a.m. UTC
Current oe-core warns while parsing this recipe:

  openjdk-21-native: LICENSE contains deprecated licenses
  GPL-2.0-with-classpath-exception

Replace it with the SPDX expression
"GPL-2.0-only WITH Classpath-exception-2.0".
LIC_FILES_CHKSUM is unchanged.

Signed-off-by: Swati Koli <Swati.ShivajiKoli@windriver.com>
---
 recipes-devtools/openjdk/openjdk-21-native_21.0.2.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/recipes-devtools/openjdk/openjdk-21-native_21.0.2.bb b/recipes-devtools/openjdk/openjdk-21-native_21.0.2.bb
index 9b4949e..5c2b6ba 100644
--- a/recipes-devtools/openjdk/openjdk-21-native_21.0.2.bb
+++ b/recipes-devtools/openjdk/openjdk-21-native_21.0.2.bb
@@ -1,6 +1,6 @@ 
 DESCRIPTION = "Java runtime based upon the OpenJDK Project, the community \
 builds using source code from OpenJDK project"
-LICENSE = "GPL-2.0-with-classpath-exception"
+LICENSE = "GPL-2.0-only WITH Classpath-exception-2.0"
 LIC_FILES_CHKSUM = "file://legal/java.base/LICENSE;md5=3e0b59f8fac05c3c03d4a26bbda13f8f"
 
 SRC_URI[sha256sum] = "a2def047a73941e01a73739f92755f86b895811afb1f91243db214cff5bdac3f"