On 2/13/2009 at 12:10 AM, "Sascha 'saigkill' Manns" samannsml@directbox.com
wrote:
Hi List,
i've got an RPMLint Error:
tinyxml.i586: E: shlib-policy-name-error (Badness: 10000) libtinyxml0 Your package contains a single shared library but is not named after its SONAME.
I searched the Log, and i've seen:
- g++ -march=i586 -mtune=i686 -fmessage-length=0 -O2 -Wall -
D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous- unwind-tables -shared -o libtinyxml.so.0.2.5.3 -Wl,- soname,libtinyxml.so.0 tinystr.cpp.o tinyxml.cpp.o tinyxmlerror.cpp.o tinyxmlparser.cpp.o
Here i find the Place, and i see, that the Function build with - soname,libtinyxml.so.0
Your package is called tinyxml. It contains a lib libtinyxml.so.0, which (in case the soname is properly set, which I assume her) leads to a correct packagename of libtinyxml0
You need to name your package / subpackage accordingly and the Lint error will disappear.
Dominique