No description
f1be3a0d4d
This is mainly targeted to the crates using `rust-cc`, where we want to apply system-wide compiler flags when invoking the compiler. `cc` supports CFLAGS and CXXFLAGS, but we never set those. Defining that per project is not possible, as we have no way to inherit any build context from a dependency package. Possibly also affects: `bindgen`, `cxx`, any other crate that invokes the C/C++ compiler and passes the CFLAGSS |
||
---|---|---|
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