File 0879-adds-spdx-annotations-to-files-without-license.patch of Package erlang
From dcf713833715ff3c7cee4790ab235f241d558add Mon Sep 17 00:00:00 2001
From: Kiko Fernandez-Reyes <kiko@erlang.org>
Date: Thu, 30 Jan 2025 09:28:50 +0100
Subject: [PATCH 09/14] adds spdx annotations to files without license
the files have been manually checked and where created by members of
OTP. the addition of SPDX notation at the header was performed using
REUSE tool.
---
.github/ISSUE_TEMPLATE/bug_report.md | 6 ++++++
.github/ISSUE_TEMPLATE/feature_request.md | 6 ++++++
.github/actions/build-base-image/action.yaml | 4 ++++
.github/dockerfiles/odbcinst.ini | 2 +-
.github/workflows/license-scanner.yaml | 1 +
CONTRIBUTING.md | 9 ++++++++-
erts/preloaded/src/erl_tracer.erl | 4 ++++
lib/stdlib/src/erl_abstract_code.erl | 2 ++
lib/stdlib/src/shell_docs_test.erl | 4 ++++
9 files changed, 36 insertions(+), 2 deletions(-)
diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md
index c84bcbd364..9c9cf33736 100644
--- a/.github/ISSUE_TEMPLATE/bug_report.md
+++ b/.github/ISSUE_TEMPLATE/bug_report.md
@@ -21,3 +21,9 @@ The OTP versions that are affected by this bug.
**Additional context**
Add any other context about the problem here. If you wish to attach Erlang code you can either write it directly in the post using [code tags](https://guides.github.com/features/mastering-markdown/), create a [gist](https://gist.github.com), or attach it as a zip file to this post.
+
+<!--
+SPDX-FileCopyrightText: 2025 Ericsson AB
+
+SPDX-License-Identifier: Apache-2.0
+-->
diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md
index 2ea8fdec44..1b0c2d6dea 100644
--- a/.github/ISSUE_TEMPLATE/feature_request.md
+++ b/.github/ISSUE_TEMPLATE/feature_request.md
@@ -17,3 +17,9 @@ A clear and concise description of any alternative solutions or features you've
**Additional context**
Add any other context or screenshots about the feature request here.
+
+<!--
+SPDX-FileCopyrightText: 2025 Ericsson AB
+
+SPDX-License-Identifier: Apache-2.0
+-->
diff --git a/.github/actions/build-base-image/action.yaml b/.github/actions/build-base-image/action.yaml
index d5e78f72f2..d68c2f1eb2 100644
--- a/.github/actions/build-base-image/action.yaml
+++ b/.github/actions/build-base-image/action.yaml
@@ -1,3 +1,7 @@
+# SPDX-FileCopyrightText: 2025 Ericsson AB
+#
+# SPDX-License-Identifier: Apache-2.0
+
name: Build Base Image
description: 'Builds the base testing image (using cache if possible)'
diff --git a/.github/dockerfiles/odbcinst.ini b/.github/dockerfiles/odbcinst.ini
index 37beed5669..232ddfc6ad 100644
--- a/.github/dockerfiles/odbcinst.ini
+++ b/.github/dockerfiles/odbcinst.ini
@@ -30,4 +30,4 @@ Driver = /usr/lib/i386-linux-gnu/odbc/psqlodbca.so
Setup = /usr/lib/i386-linux-gnu/odbc/libodbcpsqlS.so
Debug = 0
CommLog = 1
-UsageCount = 2
\ No newline at end of file
+UsageCount = 2
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 620c6075c4..7b5df385d5 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -1,3 +1,9 @@
+<!--
+SPDX-FileCopyrightText: Ericsson AB
+
+SPDX-License-Identifier: Apache-2.0
+-->
+
# Contributing to Erlang/OTP
1. [License](#license)
diff --git a/erts/preloaded/src/erl_tracer.erl b/erts/preloaded/src/erl_tracer.erl
index 2796b30164..8e1aaf7cce 100644
--- a/erts/preloaded/src/erl_tracer.erl
+++ b/erts/preloaded/src/erl_tracer.erl
@@ -1,3 +1,7 @@
+% SPDX-FileCopyrightText: 2016 Ericsson AB
+%
+% SPDX-License-Identifier: Apache-2.0
+
-module(erl_tracer).
-compile([no_inline,nowarn_nif_inline]).
diff --git a/lib/stdlib/src/erl_abstract_code.erl b/lib/stdlib/src/erl_abstract_code.erl
index 0882d65ea3..73f7e64054 100644
--- a/lib/stdlib/src/erl_abstract_code.erl
+++ b/lib/stdlib/src/erl_abstract_code.erl
@@ -1,3 +1,5 @@
+% SPDX-License-Identifier: Apache-2.0
+
-module(erl_abstract_code).
-export([debug_info/4]).
--
2.43.0