Skip to content

Commit

Permalink
rustic-rs#950: Enable RPM file build target
Browse files Browse the repository at this point in the history
  • Loading branch information
troelsarvin committed Nov 20, 2023
1 parent e67a683 commit d30760a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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", roup = "root" }
]

0 comments on commit d30760a

Please sign in to comment.