The - separator is not allowed in rpms. Using an underscore SEEMS to work in both Ubuntu and Centos, but without having tested ever distro version, perhaps no separator at all is safer. Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
@@ -360,7 +360,7 @@ IF ("${COMMONSETUP_DONE}" STREQUAL "")
set(version ${majorver}.${minorver}.${point})
IF ("${CMAKE_BUILD_TYPE}" STREQUAL "Debug")
- set( stagever "${stagever}-Debug" )
+ set( stagever "${stagever}Debug" )
ENDIF ("${CMAKE_BUILD_TYPE}" STREQUAL "Debug")
###########################################################################