In second version of SPDX Specification, some abbreviations are deprecated and replaced, but it does not accept them.
For example: GPL-3.0 now is GPL-3.0-only
GPL-3.0
GPL-3.0-only
When I use new abbreviations, an error is occurred:
ошибка: cannot read snap file: cannot validate license "GPL-3.0-or-later": unknown license: GPL-3.0-or-later
Hello!
Though I don’t recall this being specified in our documentation, the snap ecosystem only supports SPDX 2.0 identifiers. If you want to use GPL-3.0 or later, you need to use the old identifier for it, which is GPL-3.0+.
See Keeping up with SPDX license identifier updates for more discussion on this topic.
Cheers,