On Mon, 17 Jan 2011, Cristian Morales Vega wrote:
2011/1/17 Christian Trippe
: /usr/lib/libgetdatabzip2-0.7.1.so /usr/lib/libgetdatabzip2.so /usr/lib/libgetdatagzip-0.7.1.so /usr/lib/libgetdatagzip.so /usr/lib/libgetdatalzma-0.7.1.so /usr/lib/libgetdatalzma.so
AFAIU these are unversioned, so packaging them separatly does not make much sense. However rpmlint still complains:
It seems the libraries change the soname with every release. But that doesn't means users couldn't want to install two versions at the same time. Using the SLPP is still the correct thing to do, the name of the package comes from https://build.opensuse.org/package/view_file?file=LibraryPolicyCheck.py&package=rpmlint&project=openSUSE:Factory:
def libname_from_soname (soname): libname = string.split(soname, '.so.') if len(libname) == 2: if libname[0][-1:].isdigit(): libname = string.join(libname, '-') else: libname = string.join(libname, '') else: libname = soname[:-3] libname = libname.replace('.', '_') return libname
So "libgetdatabzip2-0.7.1.so" should be in the "libgetdatabzip2-0_7_1" package.
Indeed. If the libraries are tightly bound to a single user (program) then they should reside in /usr/lib/$program/ instead and be packaged in the same package as the binary referring to them. Richard. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org