Mailinglist Archive: opensuse-buildservice (261 mails)
| < Previous | Next > |
Re: [opensuse-buildservice] Help with a rpmlint failure note
- From: Guillermo Ballester Valor <gbv@xxxxxxxxxxxx>
- Date: Sat, 14 Jun 2008 13:27:21 +0000
- Message-id: <200806141327.22382.gbv@xxxxxxxxxxxx>
Thank you Christian!
I will rename de rpm.
Regards,
Guillermo
El Saturday 14 June 2008 11:47:41 Christian Morales Vega escribió:
--
Guillermo Ballester Valor
gbv@xxxxxxxxxxxx
http://www.oxixares.com/~gbv
Ogijares, Granada - SPAIN
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx
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 <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
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@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx
--
Guillermo Ballester Valor
gbv@xxxxxxxxxxxx
http://www.oxixares.com/~gbv
Ogijares, Granada - SPAIN
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx
| < Previous | Next > |