over-riding an autodep for a sharedlib?

Josh Stone jistone at redhat.com
Tue Mar 18 17:07:17 UTC 2014


On 03/18/2014 08:30 AM, Kaleb KEITHLEY wrote:
> 
> the samba.spec has:
> 
>    %package vfs-glusterfs
>    ..
>    Requires: glusterfs-api >= 3.4.0.16
>    Requires: glusterfs >= 3.4.0.16
>    ..
> 
> The samba-vfs-glusterfs has these Requires (rpm -q --requires 
> samba-vfs-gluster)
>    glusterfs-api >= 3.4.0.16
>    glusterfs >= 3.4.0.16
>    ...
>    libgfapi.so.0()(64bit)
>    ...
> 
> Coming soon the libgfapi shlib will get bumped to libgfapi.so.6 for 
> various reasons I won't go into. The pertinent APIs and ABIs that the 
> samba vfs uses aren't changing.
> 
> but attempts to update the glusterfs-api RPM fails if samba is installed 
> because it wants libgfapi.so.0.
> 
> What's the correct way to specify the Requires so that this will work?

It will need to be rebuilt to pick up the new soname in DT_NEEDED.

And unless there's some specific reason that you manually Require
glusterfs-api, you can just drop that and let the autodep pull it in.



More information about the devel mailing list