Crates.io | cargo-lock2rpmprovides |
lib.rs | cargo-lock2rpmprovides |
version | 0.1.2 |
source | src |
created_at | 2021-01-29 03:17:39.136307 |
updated_at | 2021-02-15 01:37:16.683297 |
description | Cargo Lock to Rpm Provides |
homepage | https://github.com/Firstyear/cargo-lock2rpmprovides |
repository | https://github.com/Firstyear/cargo-lock2rpmprovides |
max_upload_size | |
id | 347870 |
size | 32,353 |
Fedora requires you to declare all bundled/vendored dependencies in RPMS. To help make this less painful, this tool allows generating that list for you to copy to your rpm.spec file.
cargo install cargo-lock2rpmprovides
From your Rust/Cargo project directory run:
cargo lock2rpmprovides
For debug run with:
cargo lock2rpmprovides -d
To use a different directory:
cargo lock2rpmprovides /folder/that/contains/rust/project