[opensuse-packaging] Need help updating FBReader package:
Hi. I'm trying to update the package FBReader but I have the following error: (none): E: badness 10000 exceeds threshold 1000, aborting. zlibrary-ui-qt.x86_64: E: shlib-policy-name-error (Badness: 10000) libzlui0_99 Your package contains a single shared library but is not named after its SONAME. and the following warning: zlibrary.x86_64: W: shlib-policy-missing-suffix Your package containing shared libraries does not end in a digit and should probably be split. The log file is at https://build.opensuse.org/package/live_build_log/home:jcsl:test/fbreader/op... I have read openSUSE:Shared library packaging policy but I still don't understand how to fix this. Where do I get the soname from? Where do I have to put it in the spec file? I've cleaned the spec file and fixed it as much as I'm able to, but this is out of my range. If someone is kind enough to paste the spec file somewhere, with comments, or explain in simple terms how to fix this thing, I will update the wiki page to help others if they have this problem. If it's not asking too much, I also like to know if I put the files in the right packages. The knowledge adquired with this will help me to build better packages. Thanks in advance. Greetings. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Sat, 24 May 2014 00:56, jcsl <trcs@...> wrote:
(none): E: badness 10000 exceeds threshold 1000, aborting. zlibrary-ui-qt.x86_64: E: shlib-policy-name-error (Badness: 10000) libzlui0_99 Your package contains a single shared library but is not named after its SONAME.
and the following warning:
zlibrary.x86_64: W: shlib-policy-missing-suffix Your package containing shared libraries does not end in a digit and should probably be split.
Partial Answer (I do not know enough to give the full info): The SONAME of the lib is "libzlui0_99". According to the Packaging Rules for shared libs (shlib-policy-name), the package-name should start with the SONAME, here "libzlui0_99". ATM the package is named "zlibrary-ui-qt", and this should be changed in the spec-file (to a name starting with "libzlui" and ending with a digit, try "libzlui0_99" for a start). Hope this gives you a hint in the right direction. - Yamaban. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
participants (2)
-
jcsl
-
Yamaban