File build-drop-versionless-libtcmu.so-symlink.patch of Package tcmu-runner
From 8727a386dd05603f3d3619f18f3b06bf57679749 Mon Sep 17 00:00:00 2001
From: David Disseldorp <ddiss@suse.de>
Date: Mon, 12 Feb 2018 14:47:56 +0100
Subject: [PATCH] build: drop versionless libtcmu.so symlink
Following a00cb71 ("libtcmu: do not install headers and drop libtcmu
stable API"), it no longer makes sense to install a versionless symlink
for libtcmu.so.2.
Dropping this allows for libtcmu1 and libtcmu2 to be installed alongside
each other.
Signed-off-by: David Disseldorp <ddiss@suse.de>
---
CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b5b65c3..2076d68 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -60,7 +60,7 @@ target_link_libraries(tcmu
${LIBNL_GENL_LIB}
${GLIB_LIBRARIES}
)
-install(TARGETS tcmu LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})
+install(TARGETS tcmu LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} NAMELINK_SKIP)
# Stuff for building the static library
add_library(tcmu_static
--
2.13.6