No description
Find a file
Alberto Planas fcbf95a78e metadata: replace semantic-version with a custom parser
The library semantic-version changed a lot during the last versions,
making the Metadata class very fragile.

A custom-made semantic version parsed, based on some Cargo specifics,
has been implemented to replace the old parser.

As a result of that, new features were implemented, like the support for
wildcard expressions, as documented in the Cargo book.

Fix: #93
2019-10-28 11:19:46 +01:00
data Ignore Cargo.lock 2019-09-08 15:44:37 +02:00
rust2rpm metadata: replace semantic-version with a custom parser 2019-10-28 11:19:46 +01:00
.gitignore
LICENSE
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