2010/7/28 Greg KH
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. 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". -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org