#2 RFE: use "system-deps" metadata for generating Requires and BuildRequires
Closed by decathorpe. Opened by decathorpe.

Crates that use system-deps (and similar crates) have metadata for dependencies on system libraries, i.e. which feature of the crate requires which version of the system library.

For example, the gstreamer-sys crate: https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/blob/0.20.0/gstreamer/sys/Cargo.toml#L53-73

It should be fairly straightforward to support this metadata format and automatically generate the appropriate Requires and BuildRequires. Doing so would make it unnecessary to manually keep these requirements up-to-date in rust2rpm.conf files.


Is that guaranteed to be pkgconfig names?

Yes. Only pkgconfig is supported as a backend at this point:
https://crates.io/crates/system-deps

The crate is almost exclusively used by GTK and GStreamer bindings, so that makes sense ...

Given that nobody has spoken up about wanting this in the last two years, I'm going to close this as "not planned" (for now).

Metadata Update from @decathorpe:
- Issue status updated to: Closed (was: Open)

Log in to comment on this ticket.

Metadata