diff --git a/pkg-scripts/make-rpm-server b/pkg-scripts/make-rpm-server index cf84bb97f2..2767b3b8c5 100755 --- a/pkg-scripts/make-rpm-server +++ b/pkg-scripts/make-rpm-server @@ -13,7 +13,8 @@ fi # The regex below extracts the path from the VCPKG_INSTALL_ROOT variable. Said variable gets populated during the CMake step. VCPKG_INSTALL_ROOT=`grep VCPKG_INSTALL_ROOT $OVERTE/build/vcpkg.cmake | perl -ne 'm/set\(VCPKG_INSTALL_ROOT\s+\"(.*?)\"/; print $1'` -VERSION=${RPMVERSION} +# Remove minus character from version numbers, because rpmtool doesn't allow them. +VERSION=${RPMVERSION//-} if [ "$OVERTE_USE_SYSTEM_QT" = "" ]; then SOFILES=`ls \