No description
Zbigniew Jędrzejewski-Szmek
e1f911661f
%build_rustflags was used in %cargo_prep, which is executed in %prep, when %buildsubdir is not set yet. To avoid this, insertion of flags is moved to an environment variable that is set for %cargo_build and %cargo_test. The linker flag gets passed to rustc, and resulting binaries seem to have note as expected. |
||
---|---|---|
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