Detecting soname bumps

Ville Skyttä ville.skytta at iki.fi
Tue Dec 4 19:35:28 UTC 2012


On 2012-12-04 20:30, Jindrich Novy wrote:
> On Tue, Dec 04, 2012 at 10:51:17AM -0700, Orion Poplawski wrote:
>>
>> I'm wondering if it wouldn't be a good idea in the packaging
>> guidelines to suggest that people list the shared libraries in the
>> %files section like:
>>
>> %{_libdir}/libname.so.#*
>>
>> With the soname version number explicitly listed.  That way
>> packagers would detect most soname bumps automatically when they do
>> a build.
> 
> +1
> 
> This is an easy way how rpmbuild will whack a packager when the
> soname is bumped without his awareness before it breaks deps on
> koji side.

IMO if a maintainer of a shared lib package goes as far as submitting a
koji build without noticing a soname bump in it, the maintainer should
seriously consider stepping aside and finding someone else to take
proper care of the package.

Not noticing it quite probably means that either the maintainer didn't
bother to test anything besides at most "does it build" before
submitting the build, or that s/he has no packages installed that depend
on/actually use this shared lib package, both of which lead to the same
conclusion, see above.


More information about the devel mailing list