On 2008-06-14 13:27:21 +0000, Guillermo Ballester Valor wrote:
Thank you Christian!
I will rename de rpm.
Regards,
Guillermo
El Saturday 14 June 2008 11:47:41 Christian Morales Vega escribió:
2008/6/14 Guillermo Ballester Valor
: --- 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 SONAME. ---
But the strange thing is there no 'libspf2-2' file. Any help?. Is this a bug in rpmlint?.
http://en.opensuse.org/Packaging/Shared_Library_Packaging_Policy 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 libspf2.so.2 | grep SONAME" and you get: "SONAME libspf2.so.2" 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@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
to save you some work use the subpackage approach shown in http://lists.opensuse.org/opensuse-packaging/2008-04/msg00086.html -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org