Commit graph

15 commits

Author SHA1 Message Date
55b9834ab5
deps: require cargo2rpm >= 0.1.15 and update test fixtures 2023-12-07 15:05:23 +01:00
c40f7400f9
deps: require cargo2rpm >= 0.1.14 2023-12-01 15:22:34 +01:00
e879c9f857
Release 25.0.2 2023-11-18 01:07:31 +01:00
f35b5f4e88
generator: add mode and template for non-workspace projects 2023-10-06 16:48:49 +02:00
52e2482019
accept "partial" version arguments; resolve to latest matching version 2023-10-06 02:17:34 +02:00
2f1505daf2
conf: implement new TOML-based config file format
- does not rely on custom INI parsing
- can be validated automatically with the defined schema
- actual support for lists, multi-line strings, booleans

When a "rust2rpm.toml" file is found, it takes precedence. Otherwise,
rust2rpm will fall back to existing {,.,_}rust2rpm.conf files and
convert to the new format internally.
2023-10-05 20:03:08 +02:00
a58f78d7e8
tests: adapt fixtures for cargo2rpm v0.1.8 2023-09-30 15:48:57 +02:00
9696550bb7
meta: require cargo2rpm >= 0.1.2 to fix edge case in "is-lib" checks 2023-02-16 21:39:51 +01:00
cbb1ea5ae7
tests: test drop_foreign_dependencies separately from spec generation 2023-02-13 17:53:03 +01:00
67c878e32a
Implement simple logging; ensure rust2rpm --stdout still works 2022-07-24 11:21:30 +02:00
d231aa7d0b cfg: fix compatibility with pyparsing 2.4.7
I was developing this with 3.0.1. Seems to work fine after some simple
adjustments.
2022-07-15 15:05:27 +02:00
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
Igor Gnatenko
b8e44897fa
Drop rustcfg req
We don't need it right now since we don't support filtering unneeded
dependencies on cargo level.

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-04-23 15:58:16 +02:00
9b64a6fd9f Filter dependencies using the cfg language 2018-08-16 15:38:51 +02:00
Igor Gnatenko
4218fda17c add requirements.txt
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2017-02-05 14:58:18 +01:00