From 871e5cb54e79fe85d83e0cc20ccb9be7fa4a0ef2 Mon Sep 17 00:00:00 2001 From: Alexander zur Bonsen Date: Thu, 20 Nov 2025 18:18:41 +0100 Subject: [PATCH] Add gpl 3.0 only with GCC exception 3.1 rule Signed-off-by: Alexander zur Bonsen --- .../data/rules/gpl-3.0_with_gcc-exception-3.1_16.RULE | 7 +++++++ test_file.txt | 11 +++++++++++ 2 files changed, 18 insertions(+) create mode 100644 src/licensedcode/data/rules/gpl-3.0_with_gcc-exception-3.1_16.RULE create mode 100644 test_file.txt diff --git a/src/licensedcode/data/rules/gpl-3.0_with_gcc-exception-3.1_16.RULE b/src/licensedcode/data/rules/gpl-3.0_with_gcc-exception-3.1_16.RULE new file mode 100644 index 00000000000..2d3475d384d --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0_with_gcc-exception-3.1_16.RULE @@ -0,0 +1,7 @@ +--- +license_expression: gpl-3.0 WITH gcc-exception-3.1 +is_license_reference: yes +relevance: 100D +--- + +{{GPL 3.0}} with {{GCC Runtime Library Exception 3.1}} diff --git a/test_file.txt b/test_file.txt new file mode 100644 index 00000000000..9b2dee81c3d --- /dev/null +++ b/test_file.txt @@ -0,0 +1,11 @@ +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.