From d09c7550ad585ac1d0e9a05ce4a807d46769e15b Mon Sep 17 00:00:00 2001 From: Roman Tsisyk <roman@tsisyk.com> Date: Wed, 26 Mar 2014 11:48:48 +0400 Subject: [PATCH] Fix bootstrap.snap installation in RPM target --- test/CMakeLists.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 5845577247..853fe1c870 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -22,7 +22,8 @@ endmacro(install_cfg) if (ENABLE_RPM) install_cfg(rpm ${CMAKE_INSTALL_SYSCONFDIR}/tarantool/) install (FILES ${CMAKE_SOURCE_DIR}/src/bootstrap.snap - DESTINATION ${CMAKE_INSTALL_DATADIR}/tarantool) + DESTINATION ${CMAKE_INSTALL_DATADIR}/tarantool + RENAME 00000000000000000001.snap) else() if (TARGET_OS_DARWIN) install_cfg(dmg ${CMAKE_INSTALL_SYSCONFDIR}) @@ -30,5 +31,6 @@ else() install_cfg(tgz ${CMAKE_INSTALL_SYSCONFDIR}) endif() install (FILES ${CMAKE_SOURCE_DIR}/src/bootstrap.snap - DESTINATION "${CMAKE_INSTALL_LOCALSTATEDIR}/lib/tarantool") + DESTINATION "${CMAKE_INSTALL_LOCALSTATEDIR}/lib/tarantool" + RENAME 00000000000000000001.snap) endif() -- GitLab