Merge pull request #27 from NeoTheFox/rpmbuild

cargo.toml tweaks for rpm build
This commit is contained in:
htrefil 2023-04-16 11:49:53 +02:00 committed by GitHub
commit 66311b7eb3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 20 additions and 0 deletions

View file

@ -1,5 +1,6 @@
[package]
name = "rkvm-client"
license = "MIT"
version = "0.2.0"
authors = ["Jan Trefil <8711792+htrefil@users.noreply.github.com>"]
edition = "2018"
@ -17,3 +18,12 @@ log = "0.4.11"
env_logger = "0.8.1"
tokio-native-tls = "0.3.0"
anyhow = "1.0.33"
[package.metadata.rpm]
package = "rkvm-client"
[package.metadata.rpm.cargo]
buildflags = ["--release"]
[package.metadata.rpm.targets]
client = { path = "/usr/bin/rkvm-client" }

View file

@ -1,5 +1,6 @@
[package]
name = "rkvm-server"
license = "MIT"
version = "0.2.0"
authors = ["Jan Trefil <8711792+htrefil@users.noreply.github.com>"]
edition = "2018"
@ -17,3 +18,12 @@ log = "0.4.11"
env_logger = "0.8.1"
tokio-native-tls = "0.3.0"
anyhow = "1.0.33"
[package.metadata.rpm]
package = "rkvm-server"
[package.metadata.rpm.cargo]
buildflags = ["--release"]
[package.metadata.rpm.targets]
server = { path = "/usr/bin/rkvm-server" }