Skip to content

Commit 568999d

Browse files
committed
Refine license rules selectivity
This commit improves a few existing license rules to be more selective adding either required phrasesz or minimum coverage. Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
1 parent 7b867f3 commit 568999d

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

src/licensedcode/data/rules/gpl-2.0-font.SPDX.RULE

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ minimum_coverage: 10
55
notes: license text as published by SPDX
66
---
77

8-
insert GPL v2 text here
8+
{{insert GPL v2 text here}}
99

1010
Font Exception
11-
As a special exception, if you create a document which uses this font, and embed this font or unaltered portions of this font into the document, this font does not by itself cause the resulting document to be covered by the GNU General Public License. This exception does not however invalidate any other reasons why the document might be covered by the GNU General Public License. If you modify this font, you may extend this exception to your version of the font, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version.
11+
As a special exception, if you create a document which uses this font, and embed this font or unaltered portions of this font into the document, this font does not by itself cause the resulting document to be covered by the GNU General Public License. This exception does not however invalidate any other reasons why the document might be covered by the GNU General Public License. If you modify this font, you may extend this exception to your version of the font, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version.

src/licensedcode/data/rules/gpl-3.0_23.RULE

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ ignorable_urls:
1313
- http://www.gnu.org/philosophy/why-not-lgpl.html
1414
---
1515

16-
GNU General Public License v3.0 - GNU Project - Free Software Foundation (FSF)
16+
{{GNU General Public License v3.0}} - GNU Project - Free Software Foundation (FSF)
1717
http://www.gnu.org/licenses/gpl-3.0.rdf
1818

1919
GNU GENERAL PUBLIC LICENSE
@@ -698,4 +698,4 @@ into proprietary programs. If your program is a subroutine library, you
698698
may consider it more useful to permit linking proprietary applications with
699699
the library. If this is what you want to do, use the GNU Lesser General
700700
Public License instead of this License. But first, please read
701-
"http://www.gnu.org/philosophy/why-not-lgpl.html" http://www.gnu.org/philosophy/why-not-lgpl.html .
701+
"http://www.gnu.org/philosophy/why-not-lgpl.html" http://www.gnu.org/philosophy/why-not-lgpl.html .
Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
---
22
license_expression: unknown-license-reference
3-
is_license_notice: yes
4-
relevance: 100
3+
relevance: 70
4+
is_license_clue: yes
55
---
6-
7-
Used with permission
6+
Used with permission

0 commit comments

Comments
 (0)