summary refs log tree commit diff
path: root/gnu/tests/ldap.scm
diff options
context:
space:
mode:
authorPhilip McGrath <philip@philipmcgrath.com>2022-10-19 01:04:49 -0400
committerLudovic Courtès <ludo@gnu.org>2022-11-18 15:44:38 +0100
commitfd5e642513ea08cc9ba3b4197bcbf0b8d37ae966 (patch)
tree454070472bc81b6a822fa8e93a481d9cfa32fd54 /gnu/tests/ldap.scm
parent07482dc0511350d596fdd25f7645dd6f4f91313b (diff)
downloadguix-fd5e642513ea08cc9ba3b4197bcbf0b8d37ae966.tar.gz
import/utils: spdx-string->license: Support '+' operator.
Previously, '+' was supported only via special cases for deprecated
GNU identifiers like 'GPL-N+'.  This commit adds support
for other uses of '+', such as 'AFL-2.0+' and 'LPPL-1.0+'.

Strictly speaking, '+' is an operator, not part of the SPDX license
identifier, but it is useful to handle it here.

* guix/import/utils.scm (spdx-string->license): Support '+' operator.
* tests/import-utils.scm ("spdx-string->license"): Test it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/tests/ldap.scm')
0 files changed, 0 insertions, 0 deletions