From c9bdc0472041bb931cdec67395396c1f5ed6bb70 Mon Sep 17 00:00:00 2001 From: Brian Martin Date: Mon, 30 Dec 2024 10:53:01 -0800 Subject: [PATCH] add metadata for rpm generation (#338) Adds metadata section for rpm generation to the Cargo manifest. --- Cargo.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 903d9e6..3ceeb84 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -100,3 +100,8 @@ debug-assertions = false debug = true opt-level = 0 +[package.metadata.generate-rpm] +auto_req = "builtin" +assets = [ + { source = "target/release/rpc-perf", dest = "/usr/bin/", mode = "755" }, +]