Mailinglist Archive: opensuse-packaging (206 mails)

< Previous Next >
Re: [opensuse-packaging] Question about the shared library packaging policy for unversioned libs
  • From: Cristian Morales Vega <cmorve69@xxxxxxxx>
  • Date: Mon, 17 Jan 2011 21:38:38 +0100
  • Message-id: <AANLkTimaNJmfqWF9mA42+fsEf98xuVHKr+WG2t=-g259@mail.gmail.com>
2011/1/17 Christian Trippe <trippe_mailinglisten@xxxxxx>:
/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.
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References