Manually set depends for deb and rpm packages (#358)

Should fix #292
This commit is contained in:
Félix Saparelli 2022-06-29 01:28:29 +00:00
parent 64895132aa
commit e15fa6cd21
1 changed files with 9 additions and 0 deletions

View File

@ -101,6 +101,7 @@ pkg-fmt = "zip"
maintainer = "Félix Saparelli <felix@passcod.name>"
license-file = ["../../LICENSE", "0"]
section = "utility"
depends = "libc6, libgcc-s1" # not needed for musl, but see below
# conf-files = [] # look me up when config file lands
assets = [
["../../target/release/watchexec", "usr/bin/", "755"],
@ -121,3 +122,11 @@ assets = [
{ source = "../../doc/logo.svg", dest = "/usr/share/icons/hicolor/scalable/apps/watchexec.svg", mode = "644" },
# set conf = true for config file when that lands
]
auto-req = "disabled"
# technically incorrect when using musl, but these are probably
# present on every rpm-using system, so let's worry about it if
# someone asks.
[package.metadata.generate-rpm.requires]
glibc = "*"
libgcc = "*"