Re: qedr and vmw_pvrdma are not packaged in rdma-core

Jason Gunthorpe
2017-02-02T17:49:35Z

On Thu, Feb 02, 2017 at 07:44:15PM +0200, Leon Romanovsky wrote:
> On Thu, Feb 02, 2017 at 09:38:31AM -0700, Jason Gunthorpe wrote:
> > On Thu, Feb 02, 2017 at 08:26:28AM +0200, Leon Romanovsky wrote:
> > > Hi Ram and Adit,
> > >
> > > I want to bring to your attention that qedr and vmw_pvrdma drivers are
> > > missing from various package files available in rdma-core.
> >
> > It is handled automatically, can't be missing:
> >
> > $ buildlib/cbuild pkg jessie
> > $ dpkg-deb -c ../ibverbs-providers_13-1_amd64.deb
> > -rw-r--r-- root/root 35024 2017-02-02 09:31 ./usr/lib/x86_64-linux-gnu/libibverbs/libqedr-rdmav2.so
> > -rw-r--r-- root/root 18600 2017-02-02 09:31 ./usr/lib/x86_64-linux-gnu/libibverbs/libvmw_pvrdma-rdmav2.so
> >
> > $ buildlib/cbuild pkg fc25
> > $ rpm -q -l -p ../libibverbs-13-1.fc25.x86_64.rpm
> > /usr/lib64/libibverbs/libqedr-rdmav2.so
> > /usr/lib64/libibverbs/libvmw_pvrdma-rdmav2.so
> >
> > > RedHat has different scheme with explicit declaration, from redhat/rdma-core.spec
> > > 98 Provides: librxe = %{version}-%{release}
> > > 99 Obsoletes: librxe < %{version}-%{release}
> >
> > This is only for things that were previously packaged in redhat, qedr
> > and vmw_pvrdma have not been, so they should not include those
> > stanzas. It is similar to the obsoletes/replaces in debian/control.
>
> Are you sure? I can't find librxe here.
> https://www.rpmfind.net/linux/rpm2html/search.php?query=librxe&submit=Search+...&system=&arch=

Yes, I am sure.

Someone got overzealous then, the provides should be removed.

Jason