mirror of
https://github.com/htrefil/rkvm.git
synced 2024-11-17 07:47:45 +01:00
Merge pull request #27 from NeoTheFox/rpmbuild
cargo.toml tweaks for rpm build
This commit is contained in:
commit
66311b7eb3
2 changed files with 20 additions and 0 deletions
|
@ -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" }
|
||||
|
|
|
@ -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" }
|
||||
|
|
Loading…
Reference in a new issue