On Tuesday 2014-05-27 20:20, jcsl wrote:
objdump %{buildroot}%{_libdir}/libzlui.so -p | grep SONAME SONAME libzlui.so.0.99
I have one more doubt. There is another library built as a subpackage in the same package. While in the libzlui I have to use the exact SONAME and I cannot even add a dash to separate the library name from the SONAME because the build is aborted (Your package contains a single shared library but is not named after its SONAME), the other library only issues a shlib-policy-missing-suffix warning. What is the difference between these two libraries?
Your other subpackage contains more than one library. Obviously, if the package name matches library A, it cannot also match library B. zlibrary should be split into liblzcore and liblztext, probably. Also, you mixed up soname and soversion in your .spec. %define zlui_soname 0_99 %define zlib_suffix 0_99_4 The soname is, as told by objdump/readelf, libzlui.so.0.99. (.)0.99 / 0_99 is the suffix. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org