File 2132-megaco-Add-SPDX-License-Identifier-to-all-license-he.patch of Package erlang

From 6bb0a59b199a5dbc71218daa77cf8b4003e63086 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lukas=20Backstr=C3=B6m?= <lukas@erlang.org>
Date: Thu, 3 Apr 2025 22:22:24 +0200
Subject: [PATCH 2/4] megaco: Add SPDX-License-Identifier to all license
 headers

---
 lib/megaco/doc/assets/MG-startup_flow_noMID.gif.license   | 7 ++++++-
 lib/megaco/doc/assets/MGC_startup_call_flow.gif.license   | 7 ++++++-
 lib/megaco/doc/assets/MG_startup_call_flow.gif.license    | 7 ++++++-
 lib/megaco/doc/assets/call_flow.gif.license               | 7 ++++++-
 lib/megaco/doc/assets/call_flow_cont.gif.license          | 7 ++++++-
 lib/megaco/doc/assets/distr_node_config.gif.license       | 7 ++++++-
 lib/megaco/doc/assets/megaco_sys_arch.gif.license         | 7 ++++++-
 lib/megaco/doc/assets/single_node_config.gif.license      | 7 ++++++-
 lib/megaco/doc/src/MG-startup_flow_noMID.fig.license      | 8 +++++++-
 lib/megaco/doc/src/meas.log                               | 2 ++
 lib/megaco/doc/src/mstone1.jpg.license                    | 7 ++++++-
 lib/megaco/examples/meas/time_test.msgs.license           | 8 +++++++-
 lib/megaco/src/binary/MEDIA-GATEWAY-CONTROL-v1.asn        | 6 ++++++
 lib/megaco/src/binary/MEDIA-GATEWAY-CONTROL-v2.asn        | 6 ++++++
 lib/megaco/src/binary/MEDIA-GATEWAY-CONTROL-v3.asn        | 6 ++++++
 .../binary/megaco_ber_media_gateway_control_v1.asn1config | 2 ++
 .../binary/megaco_ber_media_gateway_control_v1.set.asn    | 2 ++
 .../binary/megaco_ber_media_gateway_control_v2.asn1config | 2 ++
 .../binary/megaco_ber_media_gateway_control_v2.set.asn    | 2 ++
 .../binary/megaco_ber_media_gateway_control_v3.asn1config | 2 ++
 .../binary/megaco_ber_media_gateway_control_v3.set.asn    | 2 ++
 .../binary/megaco_per_media_gateway_control_v1.set.asn    | 2 ++
 .../binary/megaco_per_media_gateway_control_v2.set.asn    | 2 ++
 .../binary/megaco_per_media_gateway_control_v3.set.asn    | 2 ++
 lib/megaco/test/megaco.cover                              | 2 ++
 lib/megaco/test/megaco.spec                               | 2 ++
 26 files changed, 110 insertions(+), 11 deletions(-)

diff --git a/lib/megaco/doc/assets/MG-startup_flow_noMID.gif.license b/lib/megaco/doc/assets/MG-startup_flow_noMID.gif.license
index 0d53a95d64..fb9c49280d 100644
--- a/lib/megaco/doc/assets/MG-startup_flow_noMID.gif.license
+++ b/lib/megaco/doc/assets/MG-startup_flow_noMID.gif.license
@@ -1,2 +1,7 @@
+%CopyrightBegin%
+
 SPDX-License-Identifier: Apache-2.0
-Copyright 2000-2025 Ericsson AB. All rights reserved.
+
+Copyright Ericsson AB 2000-2025. All Rights Reserved.
+
+%CopyrightEnd%
diff --git a/lib/megaco/doc/assets/MGC_startup_call_flow.gif.license b/lib/megaco/doc/assets/MGC_startup_call_flow.gif.license
index 0d53a95d64..fb9c49280d 100644
--- a/lib/megaco/doc/assets/MGC_startup_call_flow.gif.license
+++ b/lib/megaco/doc/assets/MGC_startup_call_flow.gif.license
@@ -1,2 +1,7 @@
+%CopyrightBegin%
+
 SPDX-License-Identifier: Apache-2.0
-Copyright 2000-2025 Ericsson AB. All rights reserved.
+
+Copyright Ericsson AB 2000-2025. All Rights Reserved.
+
+%CopyrightEnd%
diff --git a/lib/megaco/doc/assets/MG_startup_call_flow.gif.license b/lib/megaco/doc/assets/MG_startup_call_flow.gif.license
index 0d53a95d64..fb9c49280d 100644
--- a/lib/megaco/doc/assets/MG_startup_call_flow.gif.license
+++ b/lib/megaco/doc/assets/MG_startup_call_flow.gif.license
@@ -1,2 +1,7 @@
+%CopyrightBegin%
+
 SPDX-License-Identifier: Apache-2.0
-Copyright 2000-2025 Ericsson AB. All rights reserved.
+
+Copyright Ericsson AB 2000-2025. All Rights Reserved.
+
+%CopyrightEnd%
diff --git a/lib/megaco/doc/assets/call_flow.gif.license b/lib/megaco/doc/assets/call_flow.gif.license
index 0d53a95d64..fb9c49280d 100644
--- a/lib/megaco/doc/assets/call_flow.gif.license
+++ b/lib/megaco/doc/assets/call_flow.gif.license
@@ -1,2 +1,7 @@
+%CopyrightBegin%
+
 SPDX-License-Identifier: Apache-2.0
-Copyright 2000-2025 Ericsson AB. All rights reserved.
+
+Copyright Ericsson AB 2000-2025. All Rights Reserved.
+
+%CopyrightEnd%
diff --git a/lib/megaco/doc/assets/call_flow_cont.gif.license b/lib/megaco/doc/assets/call_flow_cont.gif.license
index 0d53a95d64..fb9c49280d 100644
--- a/lib/megaco/doc/assets/call_flow_cont.gif.license
+++ b/lib/megaco/doc/assets/call_flow_cont.gif.license
@@ -1,2 +1,7 @@
+%CopyrightBegin%
+
 SPDX-License-Identifier: Apache-2.0
-Copyright 2000-2025 Ericsson AB. All rights reserved.
+
+Copyright Ericsson AB 2000-2025. All Rights Reserved.
+
+%CopyrightEnd%
diff --git a/lib/megaco/doc/assets/distr_node_config.gif.license b/lib/megaco/doc/assets/distr_node_config.gif.license
index 0d53a95d64..fb9c49280d 100644
--- a/lib/megaco/doc/assets/distr_node_config.gif.license
+++ b/lib/megaco/doc/assets/distr_node_config.gif.license
@@ -1,2 +1,7 @@
+%CopyrightBegin%
+
 SPDX-License-Identifier: Apache-2.0
-Copyright 2000-2025 Ericsson AB. All rights reserved.
+
+Copyright Ericsson AB 2000-2025. All Rights Reserved.
+
+%CopyrightEnd%
diff --git a/lib/megaco/doc/assets/megaco_sys_arch.gif.license b/lib/megaco/doc/assets/megaco_sys_arch.gif.license
index 0d53a95d64..fb9c49280d 100644
--- a/lib/megaco/doc/assets/megaco_sys_arch.gif.license
+++ b/lib/megaco/doc/assets/megaco_sys_arch.gif.license
@@ -1,2 +1,7 @@
+%CopyrightBegin%
+
 SPDX-License-Identifier: Apache-2.0
-Copyright 2000-2025 Ericsson AB. All rights reserved.
+
+Copyright Ericsson AB 2000-2025. All Rights Reserved.
+
+%CopyrightEnd%
diff --git a/lib/megaco/doc/assets/single_node_config.gif.license b/lib/megaco/doc/assets/single_node_config.gif.license
index 0d53a95d64..fb9c49280d 100644
--- a/lib/megaco/doc/assets/single_node_config.gif.license
+++ b/lib/megaco/doc/assets/single_node_config.gif.license
@@ -1,2 +1,7 @@
+%CopyrightBegin%
+
 SPDX-License-Identifier: Apache-2.0
-Copyright 2000-2025 Ericsson AB. All rights reserved.
+
+Copyright Ericsson AB 2000-2025. All Rights Reserved.
+
+%CopyrightEnd%
diff --git a/lib/megaco/doc/src/MG-startup_flow_noMID.fig.license b/lib/megaco/doc/src/MG-startup_flow_noMID.fig.license
index 0d53a95d64..0e31d528d6 100644
--- a/lib/megaco/doc/src/MG-startup_flow_noMID.fig.license
+++ b/lib/megaco/doc/src/MG-startup_flow_noMID.fig.license
@@ -1,2 +1,8 @@
+%CopyrightBegin%
+
 SPDX-License-Identifier: Apache-2.0
-Copyright 2000-2025 Ericsson AB. All rights reserved.
+
+Copyright Ericsson AB 2000-2025. All Rights Reserved.
+
+%CopyrightEnd%
+
diff --git a/lib/megaco/doc/src/meas.log b/lib/megaco/doc/src/meas.log
index 7e95b818f2..2a8269f423 100644
--- a/lib/megaco/doc/src/meas.log
+++ b/lib/megaco/doc/src/meas.log
@@ -1,6 +1,8 @@
 #
 # %CopyrightBegin%
 #
+# SPDX-License-Identifier: Apache-2.0
+#
 # Copyright Ericsson AB 2009-2025. All Rights Reserved.
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/lib/megaco/doc/src/mstone1.jpg.license b/lib/megaco/doc/src/mstone1.jpg.license
index 0d53a95d64..fb9c49280d 100644
--- a/lib/megaco/doc/src/mstone1.jpg.license
+++ b/lib/megaco/doc/src/mstone1.jpg.license
@@ -1,2 +1,7 @@
+%CopyrightBegin%
+
 SPDX-License-Identifier: Apache-2.0
-Copyright 2000-2025 Ericsson AB. All rights reserved.
+
+Copyright Ericsson AB 2000-2025. All Rights Reserved.
+
+%CopyrightEnd%
diff --git a/lib/megaco/examples/meas/time_test.msgs.license b/lib/megaco/examples/meas/time_test.msgs.license
index 0d53a95d64..0e31d528d6 100644
--- a/lib/megaco/examples/meas/time_test.msgs.license
+++ b/lib/megaco/examples/meas/time_test.msgs.license
@@ -1,2 +1,8 @@
+%CopyrightBegin%
+
 SPDX-License-Identifier: Apache-2.0
-Copyright 2000-2025 Ericsson AB. All rights reserved.
+
+Copyright Ericsson AB 2000-2025. All Rights Reserved.
+
+%CopyrightEnd%
+
diff --git a/lib/megaco/src/binary/MEDIA-GATEWAY-CONTROL-v1.asn b/lib/megaco/src/binary/MEDIA-GATEWAY-CONTROL-v1.asn
index efb3905a71..0d5e536010 100644
--- a/lib/megaco/src/binary/MEDIA-GATEWAY-CONTROL-v1.asn
+++ b/lib/megaco/src/binary/MEDIA-GATEWAY-CONTROL-v1.asn
@@ -1,3 +1,9 @@
+-- %CopyrightBegin%
+--
+-- SPDX-License-Identifier: NOASSERTION
+--
+-- %CopyrightEnd%
+--
 -- This ASN.1 spec has been extracted from the Megaco/H.248 spec
 -- http://www.ietf.org/internet-drafts/draft-ietf-megaco-merged-01.txt
 --
diff --git a/lib/megaco/src/binary/MEDIA-GATEWAY-CONTROL-v2.asn b/lib/megaco/src/binary/MEDIA-GATEWAY-CONTROL-v2.asn
index 44f5d49305..7f9628f616 100644
--- a/lib/megaco/src/binary/MEDIA-GATEWAY-CONTROL-v2.asn
+++ b/lib/megaco/src/binary/MEDIA-GATEWAY-CONTROL-v2.asn
@@ -1,3 +1,9 @@
+-- %CopyrightBegin%
+--
+-- SPDX-License-Identifier: NOASSERTION
+--
+-- %CopyrightEnd%
+--
 -- This ASN.1 spec has been extracted from the Megaco/H.248 version 2
 -- ITU-T standard document.
 --
diff --git a/lib/megaco/src/binary/MEDIA-GATEWAY-CONTROL-v3.asn b/lib/megaco/src/binary/MEDIA-GATEWAY-CONTROL-v3.asn
index 4241c488d0..ead0917eab 100644
--- a/lib/megaco/src/binary/MEDIA-GATEWAY-CONTROL-v3.asn
+++ b/lib/megaco/src/binary/MEDIA-GATEWAY-CONTROL-v3.asn
@@ -1,3 +1,9 @@
+-- %CopyrightBegin%
+--
+-- SPDX-License-Identifier: NOASSERTION
+--
+-- %CopyrightEnd%
+--
 -- This ASN.1 spec has been extracted from the Megaco/H.248 version 3
 -- ITU-T standard document.
 --
diff --git a/lib/megaco/src/binary/megaco_ber_media_gateway_control_v1.asn1config b/lib/megaco/src/binary/megaco_ber_media_gateway_control_v1.asn1config
index 668b7a9cee..d6d3781aa6 100644
--- a/lib/megaco/src/binary/megaco_ber_media_gateway_control_v1.asn1config
+++ b/lib/megaco/src/binary/megaco_ber_media_gateway_control_v1.asn1config
@@ -1,6 +1,8 @@
 %%
 %% %CopyrightBegin%
 %% 
+%% SPDX-License-Identifier: Apache-2.0
+%%
 %% Copyright Ericsson AB 2000-2025. All Rights Reserved.
 %% 
 %% Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/lib/megaco/src/binary/megaco_ber_media_gateway_control_v1.set.asn b/lib/megaco/src/binary/megaco_ber_media_gateway_control_v1.set.asn
index 3147a405b6..0949003b67 100644
--- a/lib/megaco/src/binary/megaco_ber_media_gateway_control_v1.set.asn
+++ b/lib/megaco/src/binary/megaco_ber_media_gateway_control_v1.set.asn
@@ -1,6 +1,8 @@
 # 
 # %CopyrightBegin%
 # 
+# SPDX-License-Identifier: Apache-2.0
+#
 # Copyright Ericsson AB 2000-2025. All Rights Reserved.
 # 
 # Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/lib/megaco/src/binary/megaco_ber_media_gateway_control_v2.asn1config b/lib/megaco/src/binary/megaco_ber_media_gateway_control_v2.asn1config
index 221e9f23c1..269a6e0239 100644
--- a/lib/megaco/src/binary/megaco_ber_media_gateway_control_v2.asn1config
+++ b/lib/megaco/src/binary/megaco_ber_media_gateway_control_v2.asn1config
@@ -1,6 +1,8 @@
 %%
 %% %CopyrightBegin%
 %% 
+%% SPDX-License-Identifier: Apache-2.0
+%%
 %% Copyright Ericsson AB 2025-2025. All Rights Reserved.
 %% 
 %% Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/lib/megaco/src/binary/megaco_ber_media_gateway_control_v2.set.asn b/lib/megaco/src/binary/megaco_ber_media_gateway_control_v2.set.asn
index be0794afc6..b39fef506b 100644
--- a/lib/megaco/src/binary/megaco_ber_media_gateway_control_v2.set.asn
+++ b/lib/megaco/src/binary/megaco_ber_media_gateway_control_v2.set.asn
@@ -1,6 +1,8 @@
 # 
 # %CopyrightBegin%
 # 
+# SPDX-License-Identifier: Apache-2.0
+#
 # Copyright Ericsson AB 2000-2025. All Rights Reserved.
 # 
 # Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/lib/megaco/src/binary/megaco_ber_media_gateway_control_v3.asn1config b/lib/megaco/src/binary/megaco_ber_media_gateway_control_v3.asn1config
index 300b1a2064..74fa8d31a9 100644
--- a/lib/megaco/src/binary/megaco_ber_media_gateway_control_v3.asn1config
+++ b/lib/megaco/src/binary/megaco_ber_media_gateway_control_v3.asn1config
@@ -1,6 +1,8 @@
 %%
 %% %CopyrightBegin%
 %% 
+%% SPDX-License-Identifier: Apache-2.0
+%%
 %% Copyright Ericsson AB 2000-2025. All Rights Reserved.
 %% 
 %% Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/lib/megaco/src/binary/megaco_ber_media_gateway_control_v3.set.asn b/lib/megaco/src/binary/megaco_ber_media_gateway_control_v3.set.asn
index c2bf434fe0..fc7596f2af 100644
--- a/lib/megaco/src/binary/megaco_ber_media_gateway_control_v3.set.asn
+++ b/lib/megaco/src/binary/megaco_ber_media_gateway_control_v3.set.asn
@@ -1,6 +1,8 @@
 # 
 # %CopyrightBegin%
 # 
+# SPDX-License-Identifier: Apache-2.0
+#
 # Copyright Ericsson AB 2000-2025. All Rights Reserved.
 # 
 # Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/lib/megaco/src/binary/megaco_per_media_gateway_control_v1.set.asn b/lib/megaco/src/binary/megaco_per_media_gateway_control_v1.set.asn
index 3147a405b6..0949003b67 100644
--- a/lib/megaco/src/binary/megaco_per_media_gateway_control_v1.set.asn
+++ b/lib/megaco/src/binary/megaco_per_media_gateway_control_v1.set.asn
@@ -1,6 +1,8 @@
 # 
 # %CopyrightBegin%
 # 
+# SPDX-License-Identifier: Apache-2.0
+#
 # Copyright Ericsson AB 2000-2025. All Rights Reserved.
 # 
 # Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/lib/megaco/src/binary/megaco_per_media_gateway_control_v2.set.asn b/lib/megaco/src/binary/megaco_per_media_gateway_control_v2.set.asn
index be0794afc6..b39fef506b 100644
--- a/lib/megaco/src/binary/megaco_per_media_gateway_control_v2.set.asn
+++ b/lib/megaco/src/binary/megaco_per_media_gateway_control_v2.set.asn
@@ -1,6 +1,8 @@
 # 
 # %CopyrightBegin%
 # 
+# SPDX-License-Identifier: Apache-2.0
+#
 # Copyright Ericsson AB 2000-2025. All Rights Reserved.
 # 
 # Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/lib/megaco/src/binary/megaco_per_media_gateway_control_v3.set.asn b/lib/megaco/src/binary/megaco_per_media_gateway_control_v3.set.asn
index c2bf434fe0..fc7596f2af 100644
--- a/lib/megaco/src/binary/megaco_per_media_gateway_control_v3.set.asn
+++ b/lib/megaco/src/binary/megaco_per_media_gateway_control_v3.set.asn
@@ -1,6 +1,8 @@
 # 
 # %CopyrightBegin%
 # 
+# SPDX-License-Identifier: Apache-2.0
+#
 # Copyright Ericsson AB 2000-2025. All Rights Reserved.
 # 
 # Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/lib/megaco/test/megaco.cover b/lib/megaco/test/megaco.cover
index 7ae3aeac4f..63b4ba23b6 100644
--- a/lib/megaco/test/megaco.cover
+++ b/lib/megaco/test/megaco.cover
@@ -1,6 +1,8 @@
 %%
 %% %CopyrightBegin%
 %% 
+%% SPDX-License-Identifier: Apache-2.0
+%%
 %% Copyright Ericsson AB 2000-2025. All Rights Reserved.
 %% 
 %% Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/lib/megaco/test/megaco.spec b/lib/megaco/test/megaco.spec
index 7d826c89c9..4d34107665 100644
--- a/lib/megaco/test/megaco.spec
+++ b/lib/megaco/test/megaco.spec
@@ -1,6 +1,8 @@
 %%
 %% %CopyrightBegin%
 %% 
+%% SPDX-License-Identifier: Apache-2.0
+%%
 %% Copyright Ericsson AB 2000-2024. All Rights Reserved.
 %% 
 %% Licensed under the Apache License, Version 2.0 (the "License");
-- 
2.43.0

openSUSE Build Service is sponsored by