No description
Zbigniew Jędrzejewski-Szmek
02a76c3372
Fixes https://pagure.io/fedora-rust/rust2rpm/issue/159. The code in the man page is licensed as CC-0, so it's fine to just copy it here. (And I wrote it, so it would be fine anyway ;)). |
||
---|---|---|
data | ||
rust2rpm | ||
tools | ||
.gitignore | ||
LICENSE | ||
MANIFEST.in | ||
NEWS | ||
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]
unwanted-features =
compiler_builtins
rustc-dep-of-std
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