#1275 Rust: rust-packaging was renamed to cargo-rpm-macros
Merged by james. Opened by decathorpe.
Unknown source master

Download 1275.patch

The package which provides the RPM macros for Rust packaging was renamed from rust-packaging to cargo-rpm-macros as part of a big rewrite. The Guidelines need to be updated, since they currently state that packages need to have BuildRequires: rust-packaging, which is no longer true.

They either need BuildRequires: rust-packaging >= 21 (if the project in question does not use functionality that was only implemented with the cargo-rpm-macros rewrite) or BuildRequires: cargo-rpm-macros >= 24 (if the project's metadata uses specific syntax which is not supported by the old rust-packaging).

PS: The rust2rpm tool now generates these BuildRequires as required (i.e. it only includes BuildRequires: cargo-rpm-macros >= 24 if the crate uses the new features, but includes BuildRequires: rust-packaging >= 21 if the crate is still compatible with the old packaging tools (which are still present on EPEL9, for example). This ensures backwards compatibility (where possible).

rebased onto 0de22609490cc362e2d9c0e1ba2543924de95705

rebased onto 4fb2bfe23fada1ef54bcb9f0f5296f639b147c01

Pull-Request has been merged by james

Metadata