No description
Zbigniew Jędrzejewski-Szmek
7b853072f5
$ cargo-inspector -n zola Traceback (most recent call last): File "/usr/bin/cargo-inspector", line 33, in <module> sys.exit(load_entry_point('rust2rpm==18', 'console_scripts', 'cargo-inspector')()) File "/home/zbyszek/python/rust2rpm/rust2rpm/inspector.py", line 78, in main files = [_cargo_toml(args.path, f) for f in files] File "/home/zbyszek/python/rust2rpm/rust2rpm/inspector.py", line 78, in <listcomp> files = [_cargo_toml(args.path, f) for f in files] File "/home/zbyszek/python/rust2rpm/rust2rpm/inspector.py", line 50, in _cargo_toml raise FileNotFoundError(f'Cargo.toml not found for binary {binary_or_cargo_toml}') FileNotFoundError: Cargo.toml not found for binary zola becomes $ cargo-inspector -n zola FileNotFoundError: Cargo.toml not found for binary zola |
||
---|---|---|
data | ||
rust2rpm | ||
tools | ||
.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]
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