Add some machinery to help with packaging Rust projects with vendored dependencies.
%cargo_vendor_manifest macro: prints dependency tree in machine-readable format (using the same resolution mechanism as the cargo vendor command)
__cargo_vendor generator: automatically generates Provides: bundled(crate(...)) = x.y.z for contents of the vendor tarball based on the vendor manifest written by %cargo_vendor_manifest and installed by marking it as %license; requires cargo2rpm >= 0.1.8
The Provides generator works as expected when used for the rust-rpm-sequoia ELN package (with small modifications).
Add some machinery to help with packaging Rust projects with vendored dependencies.
%cargo_vendor_manifestmacro: prints dependency tree in machine-readable format (using the same resolution mechanism as thecargo vendorcommand)__cargo_vendorgenerator: automatically generatesProvides: bundled(crate(...)) = x.y.zfor contents of the vendor tarball based on the vendor manifest written by%cargo_vendor_manifestand installed by marking it as%license; requirescargo2rpm >= 0.1.8The
Providesgenerator works as expected when used for the rust-rpm-sequoia ELN package (with small modifications).