rename traffic-steering-service to sce

This commit is contained in:
luwenpeng
2023-02-03 18:52:56 +08:00
parent 8a3b3eb049
commit 72ba473aa5
14 changed files with 83 additions and 35 deletions

View File

@@ -1,7 +1,7 @@
if(CMAKE_BUILD_TYPE STREQUAL "Debug")
set(CPACK_PACKAGE_NAME "traffic-steering-service-debug")
set(CPACK_PACKAGE_NAME "sce-debug")
else()
set(CPACK_PACKAGE_NAME "traffic-steering-service")
set(CPACK_PACKAGE_NAME "sce")
endif()
message(STATUS "Package: ${CPACK_PACKAGE_NAME}")
@@ -25,9 +25,9 @@ set(CPACK_RPM_PRE_UNINSTALL_SCRIPT_FILE ${CMAKE_SOURCE_DIR}/cmake/PreUninstall.i
# Must uninstall the debug package before install release package
if(CMAKE_BUILD_TYPE STREQUAL "Debug")
set(CPACK_RPM_PACKAGE_CONFLICTS "traffic-steering-service")
set(CPACK_RPM_PACKAGE_CONFLICTS "sce")
else()
set(CPACK_RPM_PACKAGE_CONFLICTS "traffic-steering-service-debug")
set(CPACK_RPM_PACKAGE_CONFLICTS "sce-debug")
endif()
include(CPack)