File 0301-Correct-automatically-injected-copyright-statements.patch of Package erlang
From 39cee38b163de942493cad312cf2153cecdb18b2 Mon Sep 17 00:00:00 2001
From: Richard Carlsson <carlsson.richard@gmail.com>
Date: Sun, 2 Feb 2025 11:44:26 +0100
Subject: [PATCH] Correct automatically injected copyright statements
---
lib/edoc/doc/guides/chapter.md | 12 +++++++++++-
lib/eunit/doc/guides/chapter.md | 12 +++++++++++-
lib/syntax_tools/doc/guides/chapter.md | 12 +++++++++++-
3 files changed, 33 insertions(+), 3 deletions(-)
diff --git a/lib/edoc/doc/guides/chapter.md b/lib/edoc/doc/guides/chapter.md
index 45353d8fcc..20f5fb0fbd 100644
--- a/lib/edoc/doc/guides/chapter.md
+++ b/lib/edoc/doc/guides/chapter.md
@@ -1,7 +1,7 @@
<!--
%CopyrightBegin%
-Copyright Ericsson AB 2023. All Rights Reserved.
+Copyright 2001-2025 Richard Carlsson. 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.
@@ -15,6 +15,16 @@ 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.
+Alternatively, you may use this file under the terms of the GNU Lesser
+General Public License (the "LGPL") as published by the Free Software
+Foundation; either version 2.1, or (at your option) any later version.
+If you wish to allow use of your version of this file only under the
+terms of the LGPL, you should delete the provisions above and replace
+them with the notice and other provisions required by the LGPL; see
+<http://www.gnu.org/licenses/>. If you do not delete the provisions
+above, a recipient may use your version of this file under the terms of
+either the Apache License or the LGPL.
+
%CopyrightEnd%
-->
# Welcome to EDoc
diff --git a/lib/eunit/doc/guides/chapter.md b/lib/eunit/doc/guides/chapter.md
index 7ce447fa8a..1f5b63a60e 100644
--- a/lib/eunit/doc/guides/chapter.md
+++ b/lib/eunit/doc/guides/chapter.md
@@ -1,7 +1,7 @@
<!--
%CopyrightBegin%
-Copyright Ericsson AB 2023. All Rights Reserved.
+Copyright 2004-2025 Mickaël Rémond, Richard Carlsson. 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.
@@ -15,6 +15,16 @@ 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.
+Alternatively, you may use this file under the terms of the GNU Lesser
+General Public License (the "LGPL") as published by the Free Software
+Foundation; either version 2.1, or (at your option) any later version.
+If you wish to allow use of your version of this file only under the
+terms of the LGPL, you should delete the provisions above and replace
+them with the notice and other provisions required by the LGPL; see
+<http://www.gnu.org/licenses/>. If you do not delete the provisions
+above, a recipient may use your version of this file under the terms of
+either the Apache License or the LGPL.
+
%CopyrightEnd%
-->
# EUnit - a Lightweight Unit Testing Framework for Erlang
diff --git a/lib/syntax_tools/doc/guides/chapter.md b/lib/syntax_tools/doc/guides/chapter.md
index 8825bbd41d..0aa78b7122 100644
--- a/lib/syntax_tools/doc/guides/chapter.md
+++ b/lib/syntax_tools/doc/guides/chapter.md
@@ -1,7 +1,7 @@
<!--
%CopyrightBegin%
-Copyright Ericsson AB 2023. All Rights Reserved.
+Copyright 1997-2025 Richard Carlsson. 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.
@@ -15,6 +15,16 @@ 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.
+Alternatively, you may use this file under the terms of the GNU Lesser
+General Public License (the "LGPL") as published by the Free Software
+Foundation; either version 2.1, or (at your option) any later version.
+If you wish to allow use of your version of this file only under the
+terms of the LGPL, you should delete the provisions above and replace
+them with the notice and other provisions required by the LGPL; see
+<http://www.gnu.org/licenses/>. If you do not delete the provisions
+above, a recipient may use your version of this file under the terms of
+either the Apache License or the LGPL.
+
%CopyrightEnd%
-->
# Erlang Syntax and Metaprogramming tools
--
2.43.0