Skip to content

Commit

Permalink
Issue-150 - rpm packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
morisja committed Nov 23, 2024
1 parent 81615a8 commit 322da7f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ num-traits = "^0.2"
sd-notify = "^0.4"
static_assertions = "1.1.0"
dns-lookup = "2.0.4"
cargo-generate-rpm = "0.15.2"

[dev-dependencies]
criterion = "^0.5"
Expand All @@ -33,3 +34,11 @@ temp-env = "^0.3"
[[bench]]
name = "user"
harness = false

[package.metadata.generate-rpm]
assets = [
{ source = "target/release/nsncd", dest = "/usr/bin/nsncd", mode = "0755" },
{ source = "debian/nsncd/lib/systemd/system/nsncd.service", dest = "/lib/systemd/system/nsncd.service", mode = "0644" },
{ source = "LICENSE", dest = "/usr/share/doc/nsncd/LICENSE", doc = true, mode = "0644" },
{ source = "README.md", dest = "/usr/share/doc/nsncd/README.md", doc = true, mode = "0644" }
]

0 comments on commit 322da7f

Please sign in to comment.