No description
Zbigniew Jędrzejewski-Szmek
d9b2cef72e
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) |
||
---|---|---|
data | ||
rust2rpm | ||
.gitignore | ||
LICENSE | ||
MANIFEST.in | ||
README.md | ||
requirements.txt | ||
setup.py | ||
test.py | ||
tox.ini |
rust2rpm
Convert Rust crates to RPM.
.rust2rpm.conf
You can place configuration file which is used as source for additional information for spec generation.
Some simple example would be better than many words ;)
[DEFAULT]
buildrequires =
pkgconfig(foo) >= 1.2.3
lib.requires =
pkgconfig(foo) >= 1.2.3
[fedora]
bin.requires =
findutils
buildrequires =
lib.requires =
lib+default.requires =
pkgconfig(bar) >= 2.0.0