File 2085-Mark-erl_uds_dist-with-ExternalCopyright.patch of Package erlang

From 2ee0ea70c0cb44d3757d9952864982891da57420 Mon Sep 17 00:00:00 2001
From: Rickard Green <rickard@erlang.org>
Date: Mon, 8 Jun 2020 09:22:34 +0200
Subject: [PATCH 1/2] Mark erl_uds_dist with %ExternalCopyright%

and remove %CopyrightBegin%/%CopyrightEnd% to prevent OTP scripts
from modifying.
---
 lib/kernel/examples/erl_uds_dist/src/erl_uds_dist.erl | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/lib/kernel/examples/erl_uds_dist/src/erl_uds_dist.erl b/lib/kernel/examples/erl_uds_dist/src/erl_uds_dist.erl
index d6c19c7f36..44035e8e42 100644
--- a/lib/kernel/examples/erl_uds_dist/src/erl_uds_dist.erl
+++ b/lib/kernel/examples/erl_uds_dist/src/erl_uds_dist.erl
@@ -1,6 +1,4 @@
 %%
-%% %CopyrightBegin%
-%%
 %% Copyright 2020 Jérôme de Bretagne
 %%
 %% Licensed under the Apache License, Version 2.0 (the "License");
@@ -15,7 +13,7 @@
 %% See the License for the specific language governing permissions and
 %% limitations under the License.
 %%
-%% %CopyrightEnd%
+%% %ExternalCopyright%
 %%
 -module(erl_uds_dist).
 
-- 
2.26.2

openSUSE Build Service is sponsored by