rust2rpm/rust2rpm
Zbigniew Jędrzejewski-Szmek d9b2cef72e Add --translate-license to translate a specific license
Before, all known licenses would be listed by --show-license-map, so
grepping the list was enough to find a license. But now we support
alternative syntaxes, so this is not enough. Add a call to translate a
specific license:

$ python3 -m rust2rpm --translate-license GPL-3.0+
Upstream license tag GPL-3.0+ (GPL-3.0-or-later) translated to GPLv3+
GPLv3+

$ python3 -m rust2rpm --show-license-map | grep -F GPL-3.0+
(nada)
2019-06-02 15:51:08 +02:00
..
templates Use %{expand:…} for description 2019-05-15 08:11:58 +02:00
__init__.py
__main__.py Add --translate-license to translate a specific license 2019-06-02 15:51:08 +02:00
inspector.py
licensing.py Add AGPL-3.0-or-later and automatically translate "+" suffix into "-or-later" 2019-06-02 15:51:05 +02:00
metadata.py Remove more common prefixes 2019-05-15 20:00:59 +02:00
spdx_to_fedora.csv Add AGPL-3.0-or-later and automatically translate "+" suffix into "-or-later" 2019-06-02 15:51:05 +02:00