Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15:Update
exodusii
sovers.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File sovers.diff of Package exodusii
From: Jan Engelhardt <jengelh@inai.de> Date: 2016-05-26 09:42:00.089515862 +0200 Shared libraries must change their SONAME when an ABI change occurs. Without any versioning, this won't occur, so add versions as per https://en.opensuse.org/openSUSE:Shared_library_packaging_policy. --- exodus/cbind/CMakeLists.txt | 10 +++++----- exodus/cbind/test/CMakeLists.txt | 4 ++-- exodus/forbind/CMakeLists.txt | 8 ++++---- exodus/forbind/test/CMakeLists.txt | 2 +- 4 files changed, 12 insertions(+), 12 deletions(-) Index: exodus-6.02/exodus/cbind/CMakeLists.txt =================================================================== --- exodus-6.09.orig/exodus/cbind/CMakeLists.txt 2016-11-07 14:47:34.347874074 -0700 +++ exodus-6.09/exodus/cbind/CMakeLists.txt 2016-11-07 14:51:11.507036420 -0700 @@ -279,20 +279,20 @@ COMPILE_FLAGS -fno-common) ENDIF(APPLE) -ADD_LIBRARY(exodus ${EXODUS_LIBRARY_TYPE} ${cbind_SRCS}) +ADD_LIBRARY(exodus-${EXODUSII_VERSION_FULL} ${EXODUS_LIBRARY_TYPE} ${cbind_SRCS}) -TARGET_LINK_LIBRARIES(exodus ${NETCDF_LIBRARY} ${HDF5_LIBRARY} ${HDF5HL_LIBRARY} ${ZLIB_LIBRARY} ${CURL} m dl) +TARGET_LINK_LIBRARIES(exodus-${EXODUSII_VERSION_FULL} ${NETCDF_LIBRARY} ${HDF5_LIBRARY} ${HDF5HL_LIBRARY} ${ZLIB_LIBRARY} ${CURL} m dl) IF(MSVC) - set_target_properties(exodus PROPERTIES COMPILE_DEFINITIONS _CRT_SECURE_NO_WARNINGS) + set_target_properties(exodus-${EXODUSII_VERSION_FULL} PROPERTIES COMPILE_DEFINITIONS _CRT_SECURE_NO_WARNINGS) ENDIF(MSVC) IF(EXODUS_LIBRARY_PROPERTIES) - SET_TARGET_PROPERTIES(exodus PROPERTIES ${EXODUS_LIBRARY_PROPERTIES}) + SET_TARGET_PROPERTIES(exodus-${EXODUSII_VERSION_FULL} PROPERTIES ${EXODUS_LIBRARY_PROPERTIES}) ENDIF(EXODUS_LIBRARY_PROPERTIES) IF(NOT EXODUS_INSTALL_NO_LIBRARIES) - INSTALL(TARGETS exodus + INSTALL(TARGETS exodus-${EXODUSII_VERSION_FULL} RUNTIME DESTINATION lib COMPONENT Runtime LIBRARY DESTINATION lib COMPONENT Runtime ARCHIVE DESTINATION lib COMPONENT Development) Index: exodus-6.02/exodus/cbind/test/CMakeLists.txt =================================================================== --- exodus-6.09.orig/exodus/cbind/test/CMakeLists.txt 2016-11-07 14:47:34.355873712 -0700 +++ exodus-6.09/exodus/cbind/test/CMakeLists.txt 2016-11-07 14:49:49.541749578 -0700 @@ -17,7 +17,7 @@ ) ADD_EXECUTABLE( ExoIICTests ${ExoIICTests} ) -TARGET_LINK_LIBRARIES( ExoIICTests exodus ) +TARGET_LINK_LIBRARIES( ExoIICTests exodus-${EXODUSII_VERSION_FULL} ) SET( TestsToRun ${ExoIICTests} ) REMOVE( TestsToRun ExoIICTests.cxx ) @@ -73,7 +73,7 @@ FOREACH ( testName ${cbind_OLDTESTS} ) ADD_EXECUTABLE( ${testName} ${testName}.c ) - TARGET_LINK_LIBRARIES( ${testName} exodus ) + TARGET_LINK_LIBRARIES( ${testName} exodus-${EXODUSII_VERSION_FULL} ) ENDFOREACH ( testName ) #SET( EXECUTABLE_OUTPUT_DIR ${CMAKE_CURRENT_BINARY_DIR} ) Index: exodus-6.02/exodus/forbind/CMakeLists.txt =================================================================== --- exodus-6.09.orig/exodus/forbind/CMakeLists.txt 2016-11-07 14:47:34.359873530 -0700 +++ exodus-6.09/exodus/forbind/CMakeLists.txt 2016-11-07 14:52:24.316738026 -0700 @@ -51,16 +51,16 @@ src/exo_jack.c ) -ADD_LIBRARY(exoIIv2for ${EXODUS_LIBRARY_TYPE} ${forbind_SRCS}) +ADD_LIBRARY(exoIIv2for-${EXODUSII_VERSION_FULL} ${EXODUS_LIBRARY_TYPE} ${forbind_SRCS}) -TARGET_LINK_LIBRARIES(exoIIv2for exodus ${NETCDF_LIBRARY} ${HDF5_LIBRARY} ${HDF5HL_LIBRARY} ${ZLIB_LIBRARY} ${CURL} m dl) +TARGET_LINK_LIBRARIES(exoIIv2for-${EXODUSII_VERSION_FULL} exodus-${EXODUSII_VERSION_FULL} ${NETCDF_LIBRARY} ${HDF5_LIBRARY} ${HDF5HL_LIBRARY} ${ZLIB_LIBRARY} ${CURL} m dl) IF(EXODUS_LIBRARY_PROPERTIES) - SET_TARGET_PROPERTIES(exoIIv2for PROPERTIES ${EXODUS_LIBRARY_PROPERTIES}) + SET_TARGET_PROPERTIES(exoIIv2for-${EXODUSII_VERSION_FULL} PROPERTIES ${EXODUS_LIBRARY_PROPERTIES}) ENDIF(EXODUS_LIBRARY_PROPERTIES) IF(NOT EXODUS_INSTALL_NO_LIBRARIES) - INSTALL(TARGETS exoIIv2for + INSTALL(TARGETS exoIIv2for-${EXODUSII_VERSION_FULL} RUNTIME DESTINATION lib COMPONENT Runtime LIBRARY DESTINATION lib COMPONENT Runtime ARCHIVE DESTINATION lib COMPONENT Development) Index: exodus-6.02/exodus/forbind/test/CMakeLists.txt =================================================================== @@ -30,7 +30,7 @@ FOREACH ( testName ${forbind_OLDTESTS} ) ADD_EXECUTABLE( f_${testName} ${testName}.f ) - TARGET_LINK_LIBRARIES( f_${testName} exoIIv2for ) + TARGET_LINK_LIBRARIES( f_${testName} exoIIv2for-${EXODUSII_VERSION_FULL} ) SET_TARGET_PROPERTIES(f_${testName} PROPERTIES LINKER_LANGUAGE Fortran) ENDFOREACH ( testName )
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor