From 3b106e212b02e514bcafffdb28390d510d441851 Mon Sep 17 00:00:00 2001 From: "Kelvin M. Klann" Date: Sun, 4 Feb 2024 03:48:10 -0300 Subject: [PATCH] build: mkrpm.sh: use --prefix=/usr by default For consistency with mkdeb.sh. --- platform/rpm/mkrpm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/rpm/mkrpm.sh b/platform/rpm/mkrpm.sh index 0221fa60757..f6444de39d4 100755 --- a/platform/rpm/mkrpm.sh +++ b/platform/rpm/mkrpm.sh @@ -16,7 +16,7 @@ set -e name="$TARNAME" # Strip any trailing prefix from the version like -rc1 etc version="$(printf '%s\n' "$VERSION" | sed 's/\-.*//g')" -config_opt="--disable-userns --disable-contrib-install $*" +config_opt="--prefix=/usr --disable-userns --disable-contrib-install $*" if [[ ! -f "platform/rpm/${name}.spec" ]]; then printf 'error: spec file not found for name %s\n' "${name}" >&2