#950: Enable RPM file build target (#951)

This commit is contained in:
Troels Arvin 2023-11-20 21:20:19 +01:00 committed by GitHub
parent e67a683e13
commit bfbc9b4cc1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -198,3 +198,11 @@ rpath = false
lto = true
debug-assertions = false
codegen-units = 1
# Allows quick RPM file generation, if "cargo-generate-rpm" is installed:
# cargo build --release; cargo generate-rpm
# will result in a file like target/generate-rpm/rustic-rs-0.6.1-1.x86_64.rpm
[package.metadata.generate-rpm]
assets = [
{ source = "target/release/rustic", dest = "/usr/bin/rustic", mode = "0755", config = false, doc = false, user = "root", group = "root" },
]