rust2rpm/README.md
Igor Gnatenko 197150ee2e
add support for feeding user configuration
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-11-03 21:45:04 +01:00

26 lines
445 B
Markdown

# 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 ;)
```ini
[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
```