Mailinglist Archive: opensuse-buildservice (261 mails)

< Previous Next >
Re: [opensuse-buildservice] Help with a rpmlint failure note
  • From: "Christian Morales Vega" <cmorve69@xxxxxxxx>
  • Date: Sat, 14 Jun 2008 13:47:41 +0200
  • Message-id: <8235e6f40806140447s4cd8d3e8nbcd5a61bdea43987@xxxxxxxxxxxxxx>
2008/6/14 Guillermo Ballester Valor <gbv@xxxxxxxxxxxx>:
libspf2.x86_64: E: shlib-policy-name-error (Badness: 10000) libspf2-2
Your package contains a single shared library but is not named after its

But the strange thing is there no 'libspf2-2' file. Any help?. Is this a bug
in rpmlint?. says:
* Shared libraries in /lib{,64} or /usr/lib{,64} shall be packaged
into rpms whose name is "lib" + $NAME + $NUM.

[$NAME is formed by cutting off the prefix "lib" and suffix ".so.*"
from the SONAME]
[If $NAME ends in a digit, a dash is inserted between $NAME and
$NUM. So it is libfoo1-0, not libfoo10.]

Do a "objdump -x | grep SONAME" and you get: "SONAME"
So NAME is spf2 and NUM is 2. The package name should be libspf2-2,
but you named it just libspf2.
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >