Skip to content

Commit 70e89e3

Browse files
committed
Remove unreachable duplicate LGPL key in rubygems mapping #5314
LICENSES_MAPPING defined 'LGPL' on two consecutive lines, so the first entry was silently discarded and a bare LGPL declaration always resolved to lgpl-2.0-plus. Remove the unreachable line and keep the value that already applies, so the mapping is unchanged at runtime. Signed-off-by: Daksha1611 <mehtadaksha1611@gmail.com>
1 parent 5ebebf2 commit 70e89e3

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

CHANGELOG.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ Next release
1010

1111
- Improve copyright detection for statements with parens or trailing "authors"
1212

13+
- Remove an unreachable duplicate ``LGPL`` key in the rubygems license mapping.
14+
https://github.com/aboutcode-org/scancode-toolkit/issues/5314
15+
1316

1417
v33.0.0rc1 - 2026-05-14
1518
------------------------

src/packagedcode/rubygems.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -676,7 +676,6 @@ def get_dependencies(dependencies):
676676
'ISC': 'isc',
677677
'LGPL-2.1+': 'lgpl-2.1-plus',
678678
'LGPL-3': 'lgpl-3.0',
679-
'LGPL': 'lgpl',
680679
'LGPL': 'lgpl-2.0-plus',
681680
'LGPLv2.1+': 'lgpl-2.1-plus',
682681
'MIT': 'mit',

0 commit comments

Comments
 (0)