File 1222-fix-style-guide-for-licenses.patch of Package erlang
From c49ff59bada49ba7917ed9d7f3cbbcd5d692e026 Mon Sep 17 00:00:00 2001
From: Kiko Fernandez-Reyes <kiko@erlang.org>
Date: Thu, 6 Feb 2025 12:58:00 +0100
Subject: [PATCH 12/14] fix style guide for licenses
---
.github/actions/build-base-image/action.yaml | 6 ++++-
CONTRIBUTING.md | 6 ++++-
erts/config.h.in | 2 +-
erts/preloaded/src/erl_tracer.erl | 24 +++++++++++++++++---
lib/erl_interface/config.h.in | 2 +-
lib/stdlib/src/shell_docs_test.erl | 6 ++---
6 files changed, 35 insertions(+), 11 deletions(-)
diff --git a/.github/actions/build-base-image/action.yaml b/.github/actions/build-base-image/action.yaml
index d68c2f1eb2..f6816bedb1 100644
--- a/.github/actions/build-base-image/action.yaml
+++ b/.github/actions/build-base-image/action.yaml
@@ -1,6 +1,10 @@
-# SPDX-FileCopyrightText: 2025 Ericsson AB
+# %CopyrightBegin%
+#
+# SPDX-FileCopyrightText: Copyright Ericsson AB 2016-2025. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
+#
+# %CopyrightEnd%
name: Build Base Image
description: 'Builds the base testing image (using cache if possible)'
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 7b5df385d5..ff6dd7f7c5 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -1,7 +1,11 @@
<!--
-SPDX-FileCopyrightText: Ericsson AB
+%CopyrightBegin%
+
+SPDX-FileCopyrightText: Copyright Ericsson AB 2016-2025. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
+
+%CopyrightEnd%
-->
# Contributing to Erlang/OTP
diff --git a/erts/config.h.in b/erts/config.h.in
index a8dc97240b..fb427ab065 100644
--- a/erts/config.h.in
+++ b/erts/config.h.in
@@ -1,5 +1,5 @@
/* config.h.in. Generated from configure.in by autoheader. */
-// SPDX-License-Identifier: GPL-3.0-or-later WITH Autoconf-exception-generic-3.0
+/* SPDX-License-Identifier: GPL-3.0-or-later WITH Autoconf-exception-generic-3.0 */
#ifndef __ERTS_CONFIG_H__
#define __ERTS_CONFIG_H__
diff --git a/erts/preloaded/src/erl_tracer.erl b/erts/preloaded/src/erl_tracer.erl
index 8e1aaf7cce..60c57c355e 100644
--- a/erts/preloaded/src/erl_tracer.erl
+++ b/erts/preloaded/src/erl_tracer.erl
@@ -1,6 +1,24 @@
-% SPDX-FileCopyrightText: 2016 Ericsson AB
-%
-% SPDX-License-Identifier: Apache-2.0
+%%
+%% %CopyrightBegin%
+%%
+%% SPDX-License-Identifier: Apache-2.0
+%%
+%% SPDX-FileCopyrightText: Copyright Ericsson AB 2016-2024. All Rights Reserved.
+%%
+%% Licensed under the Apache License, Version 2.0 (the "License");
+%% you may not use this file except in compliance with the License.
+%% You may obtain a copy of the License at
+%%
+%% http://www.apache.org/licenses/LICENSE-2.0
+%%
+%% Unless required by applicable law or agreed to in writing, software
+%% distributed under the License is distributed on an "AS IS" BASIS,
+%% WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+%% See the License for the specific language governing permissions and
+%% limitations under the License.
+%%
+%% %CopyrightEnd%
+%%
-module(erl_tracer).
diff --git a/lib/erl_interface/config.h.in b/lib/erl_interface/config.h.in
index f81f665fd8..c06d0130ff 100644
--- a/lib/erl_interface/config.h.in
+++ b/lib/erl_interface/config.h.in
@@ -1,5 +1,5 @@
/* config.h.in. Generated from configure.in by autoheader. */
-// SPDX-License-Identifier: GPL-3.0-or-later WITH Autoconf-exception-generic-3.0
+/* SPDX-License-Identifier: GPL-3.0-or-later WITH Autoconf-exception-generic-3.0 */
/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
systems. This function is required for `alloca.c' support on those systems.
--
2.43.0