File 0695-Fix-license-header-to-fullfill-the-checks.patch of Package erlang
From f83ace2b0a2b4d000fb3daa49663e20a30878476 Mon Sep 17 00:00:00 2001 From: Lars Thorsen <lars@erlang.org> Date: Mon, 15 Dec 2025 15:13:04 +0100 Subject: [PATCH] Fix license header to fullfill the checks --- lib/xmerl/src/xmerl_xsd_re_parse.yrl | 32 +++++++++++++++++++++++----- 1 file changed, 27 insertions(+), 5 deletions(-) diff --git a/lib/xmerl/src/xmerl_xsd_re_parse.yrl b/lib/xmerl/src/xmerl_xsd_re_parse.yrl index 7b58105553..3f778a1a25 100644 --- a/lib/xmerl/src/xmerl_xsd_re_parse.yrl +++ b/lib/xmerl/src/xmerl_xsd_re_parse.yrl @@ -1,22 +1,22 @@ -Header "%% +%% %% %CopyrightBegin% %% %% Copyright Ericsson AB 2003-2025. All Rights Reserved. %% -%% Licensed under the Apache License, Version 2.0 (the \"License\"); +%% 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, +%% 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% -%%". +%% %% %% A grammar for the XSD 1.0 regular expression used by the YANG @@ -40,6 +40,28 @@ Header "%% %% mention is made of the issue. %% +Header "%% +%% %CopyrightBegin% +%% +%% SPDX-License-Identifier: Apache-2.0 +%% +%% Copyright Ericsson AB 2003-2025. 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% +%%". + Nonterminals %% from the 1.0 grammar: regExp branch piece atom -- 2.51.0