> > The intent was to do the SONAME patching entirely in the rules file. > > Now we instead ship a small patch to the upstream CMakeLists.txt that > > modifies the linker flags. > This doesn't answer why are you changing the SONAME in a Debian-specific > patch at all.
The upstream currently produces libopen62541.so.1. In order to allow the parallel installation of multiple versions it is better to have libopen62541.so.1.4. So a future version v1.5 gets libopen62541.so.1.5. The installed shared objects (and symbolic links) are now as follows. libopen62541.so -> libopen62541.so.1.4 libopen62541.so.1.4 -> libopen62541.so.1.4.1 libopen62541.so.1.4.1 If this is acceptable we will change the upstream to always produce libopen62541.so.{major}.{minor} as the SONAME. This will take a few weeks until the next upstream minor release. The Debian-specific patch can then be removed. If you prefer a different SONAME and filename convention, just let me know.