Crates.io | cargo-make-rpm |
lib.rs | cargo-make-rpm |
version | 1.0.2 |
source | src |
created_at | 2023-04-11 12:09:04.645116 |
updated_at | 2024-10-24 15:03:56.681325 |
description | A tool to generate rpm package from a rust project |
homepage | |
repository | https://github.com/Markos-Th09/cargo-make-rpm |
max_upload_size | |
id | 835988 |
size | 63,359 |
A tool to generate rpm packages from a rust project
cargo make-rpm [--options] [--] [cargo options]
the packages will be written at the target/rpm
or target/[triplet]/rpm
directory dependending if the --target
flag is used
--compression <COMPRESSION> Compression algorithm to use [possible values: none, gzip, zstd]
-p, --package <PACKAGE_NAME> Workspace member name to build
--target <TARGET> Target triple to build for
-k, --signing-key <SIGNING_KEY> Signing key to use
-h, --help Print help
-V, --version Print version
Some options can be configured in Cargo.toml using the [package.metadata.rpm]
field
[package.metadata.rpm]
assets = [
["README.md", "/usr/share/doc/README.md", "644"]
]
compression = "none"