diff --git a/contrib/dist/linux/buildrpm.sh b/contrib/dist/linux/buildrpm.sh index f8a63e7e56..cf0b010134 100755 --- a/contrib/dist/linux/buildrpm.sh +++ b/contrib/dist/linux/buildrpm.sh @@ -109,6 +109,9 @@ if test "$rpmtopdir" != ""; then elif test -d /usr/src/RPM; then need_root=1 rpmtopdir="/usr/src/RPM" +elif test -d /usr/src/packages; then + need_root=1 + rpmtopdir="/usr/src/packages" else need_root=1 rpmtopdir="/usr/src/redhat"