No description
Find a file
Igor Gnatenko c61d9d6879
Revert "metadata: Set tilde separator for rust2rpm.Metadata.version"
This is not full fix, unfortunately since it breaks cargo-inspect. Paths
on the file system are still with `-`.

This reverts commit cfd3150663.

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-12-13 21:17:26 +01:00
data Pass --cap-lints=warn to the RUSTFLAGS 2019-12-03 19:11:20 +01:00
rust2rpm Revert "metadata: Set tilde separator for rust2rpm.Metadata.version" 2019-12-13 21:17:26 +01:00
.gitignore gitignore: add /build/ 2018-01-08 20:08:43 +01:00
LICENSE add MIT license text 2017-01-30 18:46:00 +01:00
MANIFEST.in Translate SPDX licenses to Fedora license tags, warn about "/" 2018-08-16 16:16:02 +02:00
README.md add support for feeding user configuration 2018-11-03 21:45:04 +01:00
requirements.txt metadata: replace semantic-version with a custom parser 2019-10-28 11:19:46 +01:00
setup.py metadata: replace semantic-version with a custom parser 2019-10-28 11:19:46 +01:00
test.py metadata: replace semantic-version with a custom parser 2019-10-28 11:19:46 +01:00
tox.ini tox: update envlist 2018-08-14 08:56:48 +02:00

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]
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