File 0883-follow-style-guide-for-licenses.patch of Package erlang

From b0035da6b0156a5150781a05d4e43a34b8d7c54c Mon Sep 17 00:00:00 2001
From: Kiko Fernandez-Reyes <kiko@erlang.org>
Date: Thu, 6 Feb 2025 13:52:08 +0100
Subject: [PATCH 13/14] follow style guide for licenses

---
 .github/ISSUE_TEMPLATE/bug_report.md      |  7 ++++++-
 .github/ISSUE_TEMPLATE/feature_request.md |  8 +++++++-
 erts/emulator/pcre/local_config.h         |  3 ++-
 erts/preloaded/src/erl_tracer.erl         | 12 ------------
 lib/stdlib/src/shell_docs_test.erl        | 12 ------------
 5 files changed, 15 insertions(+), 27 deletions(-)

diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md
index 9c9cf33736..b8a248d400 100644
--- a/.github/ISSUE_TEMPLATE/bug_report.md
+++ b/.github/ISSUE_TEMPLATE/bug_report.md
@@ -23,7 +23,12 @@ The OTP versions that are affected by this bug.
 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
+%CopyrightBegin%
+
+SPDX-FileCopyrightText: Copyright Ericsson AB 2016-2025. All Rights Reserved.
 
 SPDX-License-Identifier: Apache-2.0
+
+%CopyrightEnd%
+
 -->
diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md
index 1b0c2d6dea..cdfec02013 100644
--- a/.github/ISSUE_TEMPLATE/feature_request.md
+++ b/.github/ISSUE_TEMPLATE/feature_request.md
@@ -19,7 +19,13 @@ A clear and concise description of any alternative solutions or features you've
 Add any other context or screenshots about the feature request here.
 
 <!--
-SPDX-FileCopyrightText: 2025 Ericsson AB
+
+%CopyrightBegin%
+
+SPDX-FileCopyrightText: Copyright Ericsson AB 2016-2025. All Rights Reserved.
 
 SPDX-License-Identifier: Apache-2.0
+
+%CopyrightEnd%
+
 -->
diff --git a/erts/emulator/pcre/local_config.h b/erts/emulator/pcre/local_config.h
index 6942014b73..ccefcdb9ab 100644
--- a/erts/emulator/pcre/local_config.h
+++ b/erts/emulator/pcre/local_config.h
@@ -1,5 +1,6 @@
-/* %ExternalCopyright% */
 /* SPDX-License-Identifier: GPL-3.0-or-later WITH Autoconf-exception-generic-3.0 */
+/* %ExternalCopyright% */
+
 
 #define HAVE_ZLIB_H 1
 /* The value of LINK_SIZE determines the number of bytes used to store links
diff --git a/erts/preloaded/src/erl_tracer.erl b/erts/preloaded/src/erl_tracer.erl
index 60c57c355e..94c5e327e4 100644
--- a/erts/preloaded/src/erl_tracer.erl
+++ b/erts/preloaded/src/erl_tracer.erl
@@ -5,18 +5,6 @@
 %%
 %% 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%
 %%
 
-- 
2.43.0

openSUSE Build Service is sponsored by