diff options
Diffstat (limited to 'cmake')
| -rw-r--r-- | cmake/Package.cmake | 8 | ||||
| -rw-r--r-- | cmake/PostInstall.in | 2 | ||||
| -rw-r--r-- | cmake/PostUninstall.in | 2 | ||||
| -rw-r--r-- | cmake/PreUninstall.in | 2 |
4 files changed, 7 insertions, 7 deletions
diff --git a/cmake/Package.cmake b/cmake/Package.cmake index f81ce3c..9d54190 100644 --- a/cmake/Package.cmake +++ b/cmake/Package.cmake @@ -1,7 +1,7 @@ if(CMAKE_BUILD_TYPE STREQUAL "Debug") - set(CPACK_PACKAGE_NAME "packetadapter-debug") + set(CPACK_PACKAGE_NAME "packet_adapter-debug") else() - set(CPACK_PACKAGE_NAME "packetadapter") + set(CPACK_PACKAGE_NAME "packet_adapter") 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 "packetadapter") + set(CPACK_RPM_PACKAGE_CONFLICTS "packet_adapter") else() - set(CPACK_RPM_PACKAGE_CONFLICTS "packetadapter-debug") + set(CPACK_RPM_PACKAGE_CONFLICTS "packet_adapter-debug") endif() include(CPack)
\ No newline at end of file diff --git a/cmake/PostInstall.in b/cmake/PostInstall.in index c261a95..db3d1f1 100644 --- a/cmake/PostInstall.in +++ b/cmake/PostInstall.in @@ -1,2 +1,2 @@ -%systemd_post packetadapter.service +%systemd_post packet_adapter.service /sbin/ldconfig
\ No newline at end of file diff --git a/cmake/PostUninstall.in b/cmake/PostUninstall.in index f8a26ad..0394974 100644 --- a/cmake/PostUninstall.in +++ b/cmake/PostUninstall.in @@ -1,2 +1,2 @@ -%systemd_postun_with_restart packetadapter.service +%systemd_postun_with_restart packet_adapter.service /sbin/ldconfig
\ No newline at end of file diff --git a/cmake/PreUninstall.in b/cmake/PreUninstall.in index 306e90a..8e24e48 100644 --- a/cmake/PreUninstall.in +++ b/cmake/PreUninstall.in @@ -1 +1 @@ -%systemd_preun packetadapter.service
\ No newline at end of file +%systemd_preun packet_adapter.service
\ No newline at end of file |
