浏览代码

HPCC-9723 change Package name to allow multiple clienttools installed

change ClientTools package name to "hpccsystems-clienttools-<major version>.<mintor version>
This will allow multiple clienttools with different <major version>.<mintor version> installed
on the systems. For example following clienttools can co-exist on a system:
   hpccsystems-clienttools-4.0_community-4.0.2-2el6_x86_64.rpm
   hpccsystems-clienttools-4.2_community-4.2.0-1el6_x86_64.rpm

On the other hand if <major version>.<mintor version> are the same the newer package can be updated
on the top of older package. for example,
1) With different pack number:
   hpccsystems-clienttools-4.2_community-4.2.2-1el6_x86_64.rpm can be updated on top of
   hpccsystems-clienttools-4.2_community-4.2.0-1el6_x86_64.rpm

2) With different build(sequence) number
   hpccsystems-clienttools-4.2_community-4.2.0-2el6_x86_64.rpm can be updated on top of
   hpccsystems-clienttools-4.2_community-4.2.0-1el6_x86_64.rpm
Xiaoming Wang 11 年之前
父节点
当前提交
cb57e40fa5
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      CMakeLists.txt

+ 1 - 1
CMakeLists.txt

@@ -130,7 +130,7 @@ INCLUDE(InstallRequiredSystemLibraries)
 if ( PLATFORM )
     set(CPACK_PACKAGE_NAME "hpccsystems-platform")
 else()
-    set(CPACK_PACKAGE_NAME "hpccsystems-clienttools")
+    set(CPACK_PACKAGE_NAME "hpccsystems-clienttools-${majorver}.${minorver}")
 endif()
 SET(CPACK_PACKAGE_VERSION_MAJOR ${majorver})
 SET(CPACK_PACKAGE_VERSION_MINOR ${minorver})