Mailinglist Archive: opensuse-packaging (65 mails)
| < Previous | Next > |
Re: [opensuse-packaging] error: Your package contains a single shared library but is not named after its SONAME.
- From: Greg KH <gregkh@xxxxxxx>
- Date: Wed, 28 Jul 2010 13:23:10 -0700
- Message-id: <20100728202310.GB9485@xxxxxxx>
On Wed, Jul 28, 2010 at 09:44:43PM +0200, Cristian Morales Vega wrote:
Ah, thanks, that makes a bit more sense, but not entirely, why don't all
libraries have the N at the end of their package names?
Thanks, that makes sense.
greg k-h
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx
2010/7/28 Greg KH <gregkh@xxxxxxx>:
I'm trying to package up the liboauth library (needed for my bti tool as
twitter is about to require oauth authentication soon) and I'm getting
the following error from rpmlint:
liboauth.i586: E: shlib-policy-name-error (Badness: 10000) liboauth0
Your package contains a single shared library but is not named after
its
SONAME.
My .spec file seems sane and simple, yet I can't figure out the real
issue here. Odds are it's a problem in the original package, as I can't
see any other distro packaging it yet and it's very new.
My package is at:
https://build.opensuse.org/package/show?package=liboauth&project=home%3Agregkh
if anyone wants to take a look at it and tell me how badly I messed it
up :)
And yes, I did read the information at:
http://en.opensuse.org/openSUSE:Shared_library_packaging_policy
but can't find anything relevant to this issue there, but I might be
totally missing the relevant portion.
Any help is greatly appreciated.
Since the soname of the library is liboauth.so.0 the package that
contain it must be named liboauth0, but your package is named liboauth
(lacks the 0 at the end). You just need to rename it.
Ah, thanks, that makes a bit more sense, but not entirely, why don't all
libraries have the N at the end of their package names?
Note that the devel package must be named liboauth-devel, not
liboauth0-devel. So you can't do "%package devel", instead you will
need "%package -n liboauth-devel".
Thanks, that makes sense.
greg k-h
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx
| < Previous | Next > |