1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73
|
Description: Set the SOVERSION to '0'; otherwise we end up with
new package versions every release, breaking Debian
Author: Alastair McKinstry <mckinstry@debian.org>
Last-Updated: 2025-04-10
Forwarded: no
Updated:
2025-04-10: Add pluto library
--- a/src/atlas/CMakeLists.txt
+++ b/src/atlas/CMakeLists.txt
@@ -1007,6 +1007,7 @@
ecbuild_add_library( TARGET atlas_ecmwf
AUTO_VERSION
+ SOVERSION 0
INSTALL_HEADERS ALL
--- a/src/atlas_f/CMakeLists.txt
+++ b/src/atlas_f/CMakeLists.txt
@@ -209,7 +209,8 @@
### atlas fortran lib
ecbuild_add_library( TARGET atlas_ecmwf_f
- AUTO_VERSION
+ AUTO_VERSION
+ SOVERSION 0d
SOURCES
${FORTRAN_BINDINGS}
atlas_module.F90
--- a/pluto/src/CMakeLists.txt
+++ b/pluto/src/CMakeLists.txt
@@ -33,6 +33,8 @@
endif()
ecbuild_add_library( TARGET pluto
+ AUTO_VERSION
+ SOVERSION 0d
SOURCES
pluto/pluto.h
${CMAKE_CURRENT_BINARY_DIR}/pluto/pluto_config.h
@@ -111,6 +113,8 @@
if (HAVE_FORTRAN)
set(CMAKE_Fortran_MODULE_DIRECTORY ${CMAKE_BINARY_DIR}/module/pluto)
ecbuild_add_library( TARGET pluto_f
+ AUTO_VERSION
+ SOVERSION 0d
SOURCES
pluto_f/pluto_module.F90
pluto_f/pluto_module.cc
--- a/atlas_io/src/atlas_io/CMakeLists.txt
+++ b/atlas_io/src/atlas_io/CMakeLists.txt
@@ -19,7 +19,7 @@
ecbuild_add_library( TARGET atlas_ecmwf_io
AUTO_VERSION
- SOVERSION 0
+ SOVERSION 0d
INSTALL_HEADERS ALL
HEADER_DESTINATION include/atlas_io
PUBLIC_LIBS eckit
--- a/atlas_io/eckit_codec_adaptor/src/atlas_io/CMakeLists.txt
+++ b/atlas_io/eckit_codec_adaptor/src/atlas_io/CMakeLists.txt
@@ -7,6 +7,8 @@
PUBLIC_INCLUDES
$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/eckit_codec_adaptor/src>
+ AUTO_VERSION
+ SOVERSION 0d
SOURCES
atlas-io.h
Trace.cc
|