e934f0
Name: rdma-core
168450
Version: 44.0
168450
Release: 2%{?dist}
e934f0
Summary: RDMA core userspace libraries and daemons
e934f0
e934f0
# Almost everything is licensed under the OFA dual GPLv2, 2 Clause BSD license
e934f0
#  providers/ipathverbs/ Dual licensed using a BSD license with an extra patent clause
e934f0
#  providers/rxe/ Incorporates code from ipathverbs and contains the patent clause
e934f0
#  providers/hfi1verbs Uses the 3 Clause BSD license
e934f0
License: GPLv2 or BSD
e934f0
Url: https://github.com/linux-rdma/rdma-core
e934f0
Source: https://github.com/linux-rdma/rdma-core/releases/download/v%{version}/%{name}-%{version}.tar.gz
168450
# 0001-0003: https://github.com/linux-rdma/rdma-core/pull/1308
168450
Patch1: 0001-util-fix-overflow-in-remap_node_name.patch
168450
Patch2: 0002-infiniband-diags-drop-unnecessary-nodedesc-local-cop.patch
168450
Patch3: 0003-libibnetdisc-fix-printing-a-possibly-non-NUL-termina.patch
168450
Patch9000: 0003-CMakeLists-disable-providers-that-were-not-enabled-i.patch
168450
Patch9998: 9998-kernel-boot-Do-not-perform-device-rename-on-OPA-devi.patch
168450
Patch9999: 9999-udev-keep-NAME_KERNEL-as-default-interface-naming-co.patch
e934f0
# Do not build static libs by default.
e934f0
%define with_static %{?_with_static: 1} %{?!_with_static: 0}
e934f0
e934f0
# 32-bit arm is missing required arch-specific memory barriers,
e934f0
ExcludeArch: %{arm}
e934f0
e934f0
BuildRequires: binutils
e934f0
BuildRequires: cmake >= 2.8.11
e934f0
BuildRequires: gcc
e934f0
BuildRequires: libudev-devel
e934f0
BuildRequires: pkgconfig
e934f0
BuildRequires: pkgconfig(libnl-3.0)
e934f0
BuildRequires: pkgconfig(libnl-route-3.0)
e934f0
BuildRequires: /usr/bin/rst2man
e934f0
BuildRequires: valgrind-devel
e934f0
BuildRequires: systemd
e934f0
BuildRequires: systemd-devel
e934f0
%if 0%{?fedora} >= 32 || 0%{?rhel} >= 8
e934f0
%define with_pyverbs %{?_with_pyverbs: 1} %{?!_with_pyverbs: %{?!_without_pyverbs: 1} %{?_without_pyverbs: 0}}
e934f0
%else
e934f0
%define with_pyverbs %{?_with_pyverbs: 1} %{?!_with_pyverbs: 0}
e934f0
%endif
e934f0
%if %{with_pyverbs}
e934f0
BuildRequires: python3-devel
e934f0
BuildRequires: python3-Cython
e934f0
%else
e934f0
%if 0%{?rhel} >= 8 || 0%{?fedora} >= 30
e934f0
BuildRequires: python3
e934f0
%else
e934f0
BuildRequires: python
e934f0
%endif
e934f0
%endif
e934f0
e934f0
%if 0%{?rhel} >= 8 || 0%{?fedora} >= 30 || %{with_pyverbs}
e934f0
BuildRequires: python3-docutils
e934f0
%else
e934f0
BuildRequires: python-docutils
e934f0
%endif
e934f0
e934f0
%if 0%{?fedora} >= 21 || 0%{?rhel} >= 8
e934f0
BuildRequires: perl-generators
e934f0
%endif
e934f0
e934f0
Requires: pciutils
e934f0
# Red Hat/Fedora previously shipped redhat/ as a stand-alone
e934f0
# package called 'rdma', which we're supplanting here.
e934f0
Provides: rdma = %{version}-%{release}
e934f0
Obsoletes: rdma < %{version}-%{release}
e934f0
Conflicts: infiniband-diags <= 1.6.7
e934f0
e934f0
# Since we recommend developers use Ninja, so should packagers, for consistency.
e934f0
%define CMAKE_FLAGS %{nil}
e934f0
%if 0%{?fedora} >= 23 || 0%{?rhel} >= 8
e934f0
# Ninja was introduced in FC23
e934f0
BuildRequires: ninja-build
e934f0
%define CMAKE_FLAGS -GNinja
e934f0
%if 0%{?fedora} >= 33 || 0%{?rhel} >= 9
e934f0
%define make_jobs ninja-build -C %{_vpath_builddir} -v %{?_smp_mflags}
e934f0
%define cmake_install DESTDIR=%{buildroot} ninja-build -C %{_vpath_builddir} install
e934f0
%else
e934f0
%define make_jobs ninja-build -v %{?_smp_mflags}
e934f0
%define cmake_install DESTDIR=%{buildroot} ninja-build install
e934f0
%endif
e934f0
%else
e934f0
# Fallback to make otherwise
e934f0
BuildRequires: make
e934f0
%define make_jobs make VERBOSE=1 %{?_smp_mflags}
e934f0
%define cmake_install DESTDIR=%{buildroot} make install
e934f0
%endif
e934f0
e934f0
%if 0%{?fedora} >= 25 || 0%{?rhel} == 8
e934f0
# pandoc was introduced in FC25, Centos8
e934f0
BuildRequires: pandoc
e934f0
%endif
e934f0
e934f0
%if 0%{?fedora} >= 34
e934f0
# self obsoletes to remove i686 multilib package when updating to F34
e934f0
Obsoletes: rdma-core < 34.0-3
e934f0
%endif
e934f0
e934f0
%description
e934f0
RDMA core userspace infrastructure and documentation, including initialization
e934f0
scripts, kernel driver-specific modprobe override configs, IPoIB network
e934f0
scripts, dracut rules, and the rdma-ndd utility.
e934f0
e934f0
%package devel
e934f0
Summary: RDMA core development libraries and headers
e934f0
Requires: libibverbs%{?_isa} = %{version}-%{release}
e934f0
Provides: libibverbs-devel = %{version}-%{release}
e934f0
Obsoletes: libibverbs-devel < %{version}-%{release}
e934f0
Requires: libibumad%{?_isa} = %{version}-%{release}
e934f0
Provides: libibumad-devel = %{version}-%{release}
e934f0
Obsoletes: libibumad-devel < %{version}-%{release}
e934f0
Requires: librdmacm%{?_isa} = %{version}-%{release}
e934f0
Provides: librdmacm-devel = %{version}-%{release}
e934f0
Obsoletes: librdmacm-devel < %{version}-%{release}
e934f0
Provides: ibacm-devel = %{version}-%{release}
e934f0
Obsoletes: ibacm-devel < %{version}-%{release}
e934f0
Requires: infiniband-diags%{?_isa} = %{version}-%{release}
e934f0
Provides: infiniband-diags-devel = %{version}-%{release}
e934f0
Obsoletes: infiniband-diags-devel < %{version}-%{release}
e934f0
Provides: libibmad-devel = %{version}-%{release}
e934f0
Obsoletes: libibmad-devel < %{version}-%{release}
e934f0
%if %{with_static}
e934f0
# Since our pkg-config files include private references to these packages they
e934f0
# need to have their .pc files installed too, even for dynamic linking, or
e934f0
# pkg-config breaks.
e934f0
BuildRequires: pkgconfig(libnl-3.0)
e934f0
BuildRequires: pkgconfig(libnl-route-3.0)
e934f0
%endif
e934f0
e934f0
%description devel
e934f0
RDMA core development libraries and headers.
e934f0
e934f0
%package -n infiniband-diags
e934f0
Summary: InfiniBand Diagnostic Tools
e934f0
Requires: libibumad%{?_isa} = %{version}-%{release}
e934f0
Provides: perl(IBswcountlimits)
e934f0
Provides: libibmad = %{version}-%{release}
e934f0
Obsoletes: libibmad < %{version}-%{release}
e934f0
Obsoletes: openib-diags < 1.3
e934f0
e934f0
%description -n infiniband-diags
e934f0
This package provides IB diagnostic programs and scripts needed to diagnose an
e934f0
IB subnet.  infiniband-diags now also provides libibmad.  libibmad provides
e934f0
low layer IB functions for use by the IB diagnostic and management
e934f0
programs. These include MAD, SA, SMP, and other basic IB functions.
e934f0
e934f0
%package -n libibverbs
e934f0
Summary: A library and drivers for direct userspace use of RDMA (InfiniBand/iWARP/RoCE) hardware
e934f0
Provides: libcxgb4 = %{version}-%{release}
e934f0
Obsoletes: libcxgb4 < %{version}-%{release}
e934f0
Provides: libefa = %{version}-%{release}
e934f0
Obsoletes: libefa < %{version}-%{release}
e934f0
Provides: libhfi1 = %{version}-%{release}
e934f0
Obsoletes: libhfi1 < %{version}-%{release}
e934f0
Provides: libirdma = %{version}-%{release}
e934f0
Obsoletes: libirdma < %{version}-%{release}
e934f0
Provides: libmlx4 = %{version}-%{release}
e934f0
Obsoletes: libmlx4 < %{version}-%{release}
e934f0
Provides: libmlx5 = %{version}-%{release}
e934f0
Obsoletes: libmlx5 < %{version}-%{release}
e934f0
Provides: librxe = %{version}-%{release}
e934f0
Obsoletes: librxe < %{version}-%{release}
e934f0
%if 0%{?fedora} == 34
e934f0
Obsoletes: libibverbs-core < %{version}-%{release}
e934f0
%endif
e934f0
e934f0
%description -n libibverbs
e934f0
libibverbs is a library that allows userspace processes to use RDMA
e934f0
"verbs" as described in the InfiniBand Architecture Specification and
e934f0
the RDMA Protocol Verbs Specification.  This includes direct hardware
e934f0
access from userspace to InfiniBand/iWARP adapters (kernel bypass) for
e934f0
fast path operations.
e934f0
e934f0
Device-specific plug-in ibverbs userspace drivers are included:
e934f0
e934f0
- libcxgb4: Chelsio T4 iWARP HCA
e934f0
- libefa: Amazon Elastic Fabric Adapter
e934f0
- libhfi1: Intel Omni-Path HFI
e934f0
- libhns: HiSilicon Hip06 SoC
e934f0
- libirdma: Intel Ethernet Connection RDMA
e934f0
- libmlx4: Mellanox ConnectX-3 InfiniBand HCA
e934f0
- libmlx5: Mellanox Connect-IB/X-4+ InfiniBand HCA
e934f0
- libqedr: QLogic QL4xxx RoCE HCA
e934f0
- librxe: A software implementation of the RoCE protocol
e934f0
- libsiw: A software implementation of the iWarp protocol
e934f0
- libvmw_pvrdma: VMware paravirtual RDMA device
e934f0
e934f0
%package -n libibverbs-utils
e934f0
Summary: Examples for the libibverbs library
e934f0
Requires: libibverbs%{?_isa} = %{version}-%{release}
e934f0
e934f0
%description -n libibverbs-utils
e934f0
Useful libibverbs example programs such as ibv_devinfo, which
e934f0
displays information about RDMA devices.
e934f0
e934f0
%package -n ibacm
e934f0
Summary: InfiniBand Communication Manager Assistant
e934f0
%{?systemd_requires}
e934f0
Requires: libibumad%{?_isa} = %{version}-%{release}
e934f0
Requires: libibverbs%{?_isa} = %{version}-%{release}
e934f0
e934f0
%description -n ibacm
e934f0
The ibacm daemon helps reduce the load of managing path record lookups on
e934f0
large InfiniBand fabrics by providing a user space implementation of what
e934f0
is functionally similar to an ARP cache.  The use of ibacm, when properly
e934f0
configured, can reduce the SA packet load of a large IB cluster from O(n^2)
e934f0
to O(n).  The ibacm daemon is started and normally runs in the background,
e934f0
user applications need not know about this daemon as long as their app
e934f0
uses librdmacm to handle connection bring up/tear down.  The librdmacm
e934f0
library knows how to talk directly to the ibacm daemon to retrieve data.
e934f0
e934f0
%package -n iwpmd
e934f0
Summary: iWarp Port Mapper userspace daemon
e934f0
%{?systemd_requires}
e934f0
e934f0
%description -n iwpmd
e934f0
iwpmd provides a userspace service for iWarp drivers to claim
e934f0
tcp ports through the standard socket interface.
e934f0
e934f0
%package -n libibumad
e934f0
Summary: OpenFabrics Alliance InfiniBand umad (userspace management datagram) library
e934f0
e934f0
%description -n libibumad
e934f0
libibumad provides the userspace management datagram (umad) library
e934f0
functions, which sit on top of the umad modules in the kernel. These
e934f0
are used by the IB diagnostic and management tools, including OpenSM.
e934f0
e934f0
%package -n librdmacm
e934f0
Summary: Userspace RDMA Connection Manager
e934f0
Requires: libibverbs%{?_isa} = %{version}-%{release}
e934f0
e934f0
%description -n librdmacm
e934f0
librdmacm provides a userspace RDMA Communication Management API.
e934f0
e934f0
%package -n librdmacm-utils
e934f0
Summary: Examples for the librdmacm library
e934f0
Requires: librdmacm%{?_isa} = %{version}-%{release}
e934f0
Requires: libibverbs%{?_isa} = %{version}-%{release}
e934f0
e934f0
%description -n librdmacm-utils
e934f0
Example test programs for the librdmacm library.
e934f0
e934f0
%package -n srp_daemon
e934f0
Summary: Tools for using the InfiniBand SRP protocol devices
e934f0
Obsoletes: srptools <= 1.0.3
e934f0
Provides: srptools = %{version}-%{release}
e934f0
Obsoletes: openib-srptools <= 0.0.6
e934f0
%{?systemd_requires}
e934f0
Requires: libibumad%{?_isa} = %{version}-%{release}
e934f0
Requires: libibverbs%{?_isa} = %{version}-%{release}
e934f0
e934f0
%description -n srp_daemon
e934f0
In conjunction with the kernel ib_srp driver, srp_daemon allows you to
e934f0
discover and use SCSI devices via the SCSI RDMA Protocol over InfiniBand.
e934f0
e934f0
%if %{with_pyverbs}
e934f0
%package -n python3-pyverbs
e934f0
Summary: Python3 API over IB verbs
e934f0
%{?python_provide:%python_provide python3-pyverbs}
e934f0
Requires: librdmacm%{?_isa} = %{version}-%{release}
e934f0
Requires: libibverbs%{?_isa} = %{version}-%{release}
e934f0
e934f0
%description -n python3-pyverbs
e934f0
Pyverbs is a Cython-based Python API over libibverbs, providing an
e934f0
easy, object-oriented access to IB verbs.
e934f0
%endif
e934f0
e934f0
%prep
e934f0
%setup -q
e934f0
%patch1 -p1
168450
%patch2 -p1
168450
%patch3 -p1
168450
%if 0%{?fedora}
168450
%patch9998 -p1
e934f0
%endif
e934f0
%if 0%{?rhel}
168450
%patch9000 -p1
168450
%patch9999 -p1
e934f0
%endif
e934f0
e934f0
%build
e934f0
e934f0
# New RPM defines _rundir, usually as /run
e934f0
%if 0%{?_rundir:1}
e934f0
%else
e934f0
%define _rundir /var/run
e934f0
%endif
e934f0
e934f0
%{!?EXTRA_CMAKE_FLAGS: %define EXTRA_CMAKE_FLAGS %{nil}}
e934f0
e934f0
# Pass all of the rpm paths directly to GNUInstallDirs and our other defines.
e934f0
%cmake %{CMAKE_FLAGS} \
e934f0
         -DCMAKE_BUILD_TYPE=Release \
e934f0
         -DCMAKE_INSTALL_BINDIR:PATH=%{_bindir} \
e934f0
         -DCMAKE_INSTALL_SBINDIR:PATH=%{_sbindir} \
e934f0
         -DCMAKE_INSTALL_LIBDIR:PATH=%{_libdir} \
e934f0
         -DCMAKE_INSTALL_LIBEXECDIR:PATH=%{_libexecdir} \
e934f0
         -DCMAKE_INSTALL_LOCALSTATEDIR:PATH=%{_localstatedir} \
e934f0
         -DCMAKE_INSTALL_SHAREDSTATEDIR:PATH=%{_sharedstatedir} \
e934f0
         -DCMAKE_INSTALL_INCLUDEDIR:PATH=%{_includedir} \
e934f0
         -DCMAKE_INSTALL_INFODIR:PATH=%{_infodir} \
e934f0
         -DCMAKE_INSTALL_MANDIR:PATH=%{_mandir} \
e934f0
         -DCMAKE_INSTALL_SYSCONFDIR:PATH=%{_sysconfdir} \
e934f0
         -DCMAKE_INSTALL_SYSTEMD_SERVICEDIR:PATH=%{_unitdir} \
e934f0
         -DCMAKE_INSTALL_INITDDIR:PATH=%{_initrddir} \
e934f0
         -DCMAKE_INSTALL_RUNDIR:PATH=%{_rundir} \
e934f0
         -DCMAKE_INSTALL_DOCDIR:PATH=%{_docdir}/%{name} \
e934f0
         -DCMAKE_INSTALL_UDEV_RULESDIR:PATH=%{_udevrulesdir} \
e934f0
         -DCMAKE_INSTALL_PERLDIR:PATH=%{perl_vendorlib} \
e934f0
         -DENABLE_IBDIAGS_COMPAT:BOOL=False \
e934f0
%if %{with_static}
e934f0
         -DENABLE_STATIC=1 \
e934f0
%endif
e934f0
         %{EXTRA_CMAKE_FLAGS} \
e934f0
%if %{defined __python3}
e934f0
         -DPYTHON_EXECUTABLE:PATH=%{__python3} \
e934f0
         -DCMAKE_INSTALL_PYTHON_ARCH_LIB:PATH=%{python3_sitearch} \
e934f0
%endif
e934f0
%if %{with_pyverbs}
e934f0
         -DNO_PYVERBS=0
e934f0
%else
e934f0
	 -DNO_PYVERBS=1
e934f0
%endif
e934f0
%make_jobs
e934f0
e934f0
%install
e934f0
%cmake_install
e934f0
e934f0
mkdir -p %{buildroot}/%{_sysconfdir}/rdma
e934f0
e934f0
# Red Hat specific glue
e934f0
%global dracutlibdir %{_prefix}/lib/dracut
e934f0
%global sysmodprobedir %{_prefix}/lib/modprobe.d
e934f0
mkdir -p %{buildroot}%{_libexecdir}
e934f0
mkdir -p %{buildroot}%{_udevrulesdir}
e934f0
mkdir -p %{buildroot}%{dracutlibdir}/modules.d/05rdma
e934f0
mkdir -p %{buildroot}%{sysmodprobedir}
e934f0
install -D -m0644 redhat/rdma.mlx4.conf %{buildroot}/%{_sysconfdir}/rdma/mlx4.conf
e934f0
install -D -m0755 redhat/rdma.modules-setup.sh %{buildroot}%{dracutlibdir}/modules.d/05rdma/module-setup.sh
e934f0
install -D -m0644 redhat/rdma.mlx4.sys.modprobe %{buildroot}%{sysmodprobedir}/libmlx4.conf
e934f0
install -D -m0755 redhat/rdma.mlx4-setup.sh %{buildroot}%{_libexecdir}/mlx4-setup.sh
e934f0
rm -f %{buildroot}%{_sysconfdir}/rdma/modules/rdma.conf
e934f0
install -D -m0644 redhat/rdma.conf %{buildroot}%{_sysconfdir}/rdma/modules/rdma.conf
e934f0
e934f0
# ibacm
e934f0
(if [ -d %{__cmake_builddir} ]; then cd %{__cmake_builddir}; fi
e934f0
 ./bin/ib_acme -D . -O &&
e934f0
 install -D -m0644 ibacm_opts.cfg %{buildroot}%{_sysconfdir}/rdma/)
e934f0
e934f0
# Delete the package's init.d scripts
e934f0
rm -rf %{buildroot}/%{_initrddir}/
e934f0
rm -f %{buildroot}/%{_sbindir}/srp_daemon.sh
e934f0
e934f0
%ldconfig_scriptlets -n libibverbs
e934f0
e934f0
%ldconfig_scriptlets -n libibumad
e934f0
e934f0
%ldconfig_scriptlets -n librdmacm
e934f0
e934f0
%post -n rdma-core
e934f0
if [ -x /sbin/udevadm ]; then
e934f0
/sbin/udevadm trigger --subsystem-match=infiniband --action=change || true
e934f0
/sbin/udevadm trigger --subsystem-match=net --action=change || true
e934f0
/sbin/udevadm trigger --subsystem-match=infiniband_mad --action=change || true
e934f0
fi
e934f0
e934f0
%post -n ibacm
e934f0
%systemd_post ibacm.service
e934f0
%preun -n ibacm
e934f0
%systemd_preun ibacm.service
e934f0
%postun -n ibacm
e934f0
%systemd_postun_with_restart ibacm.service
e934f0
e934f0
%post -n srp_daemon
e934f0
%systemd_post srp_daemon.service
e934f0
%preun -n srp_daemon
e934f0
%systemd_preun srp_daemon.service
e934f0
%postun -n srp_daemon
e934f0
%systemd_postun_with_restart srp_daemon.service
e934f0
e934f0
%post -n iwpmd
e934f0
%systemd_post iwpmd.service
e934f0
%preun -n iwpmd
e934f0
%systemd_preun iwpmd.service
e934f0
%postun -n iwpmd
e934f0
%systemd_postun_with_restart iwpmd.service
e934f0
e934f0
%files
e934f0
%dir %{_sysconfdir}/rdma
e934f0
%dir %{_docdir}/%{name}
168450
%doc %{_docdir}/%{name}/70-persistent-ipoib.rules
e934f0
%doc %{_docdir}/%{name}/README.md
e934f0
%doc %{_docdir}/%{name}/rxe.md
e934f0
%doc %{_docdir}/%{name}/udev.md
e934f0
%doc %{_docdir}/%{name}/tag_matching.md
e934f0
%config(noreplace) %{_sysconfdir}/rdma/mlx4.conf
e934f0
%config(noreplace) %{_sysconfdir}/rdma/modules/infiniband.conf
e934f0
%config(noreplace) %{_sysconfdir}/rdma/modules/iwarp.conf
e934f0
%config(noreplace) %{_sysconfdir}/rdma/modules/opa.conf
e934f0
%config(noreplace) %{_sysconfdir}/rdma/modules/rdma.conf
e934f0
%config(noreplace) %{_sysconfdir}/rdma/modules/roce.conf
e934f0
%dir %{_sysconfdir}/modprobe.d
e934f0
%config(noreplace) %{_sysconfdir}/modprobe.d/mlx4.conf
e934f0
%{_unitdir}/rdma-hw.target
e934f0
%{_unitdir}/rdma-load-modules@.service
e934f0
%dir %{dracutlibdir}
e934f0
%dir %{dracutlibdir}/modules.d
e934f0
%dir %{dracutlibdir}/modules.d/05rdma
e934f0
%{dracutlibdir}/modules.d/05rdma/module-setup.sh
e934f0
%dir %{_udevrulesdir}
e934f0
%{_udevrulesdir}/../rdma_rename
e934f0
%{_udevrulesdir}/60-rdma-ndd.rules
e934f0
%{_udevrulesdir}/60-rdma-persistent-naming.rules
e934f0
%{_udevrulesdir}/75-rdma-description.rules
e934f0
%{_udevrulesdir}/90-rdma-hw-modules.rules
e934f0
%{_udevrulesdir}/90-rdma-ulp-modules.rules
e934f0
%{_udevrulesdir}/90-rdma-umad.rules
e934f0
%dir %{sysmodprobedir}
e934f0
%{sysmodprobedir}/libmlx4.conf
e934f0
%{_libexecdir}/mlx4-setup.sh
e934f0
%{_sbindir}/rdma-ndd
e934f0
%{_unitdir}/rdma-ndd.service
e934f0
%{_mandir}/man7/rxe*
e934f0
%{_mandir}/man8/rdma-ndd.*
e934f0
%license COPYING.*
e934f0
e934f0
%files devel
e934f0
%doc %{_docdir}/%{name}/MAINTAINERS
e934f0
%dir %{_includedir}/infiniband
e934f0
%dir %{_includedir}/rdma
e934f0
%{_includedir}/infiniband/*
e934f0
%{_includedir}/rdma/*
e934f0
%if %{with_static}
e934f0
%{_libdir}/lib*.a
e934f0
%endif
e934f0
%{_libdir}/lib*.so
e934f0
%{_libdir}/pkgconfig/*.pc
e934f0
%{_mandir}/man3/efadv*
e934f0
%{_mandir}/man3/ibv_*
e934f0
%{_mandir}/man3/rdma*
e934f0
%{_mandir}/man3/umad*
e934f0
%{_mandir}/man3/*_to_ibv_rate.*
e934f0
%{_mandir}/man7/rdma_cm.*
e934f0
%{_mandir}/man3/mlx5dv*
e934f0
%{_mandir}/man3/mlx4dv*
e934f0
%{_mandir}/man7/efadv*
e934f0
%{_mandir}/man7/mlx5dv*
e934f0
%{_mandir}/man7/mlx4dv*
e934f0
%{_mandir}/man3/ibnd_*
e934f0
e934f0
%files -n infiniband-diags
e934f0
%{_sbindir}/ibaddr
e934f0
%{_mandir}/man8/ibaddr*
e934f0
%{_sbindir}/ibnetdiscover
e934f0
%{_mandir}/man8/ibnetdiscover*
e934f0
%{_sbindir}/ibping
e934f0
%{_mandir}/man8/ibping*
e934f0
%{_sbindir}/ibportstate
e934f0
%{_mandir}/man8/ibportstate*
e934f0
%{_sbindir}/ibroute
e934f0
%{_mandir}/man8/ibroute.*
e934f0
%{_sbindir}/ibstat
e934f0
%{_mandir}/man8/ibstat.*
e934f0
%{_sbindir}/ibsysstat
e934f0
%{_mandir}/man8/ibsysstat*
e934f0
%{_sbindir}/ibtracert
e934f0
%{_mandir}/man8/ibtracert*
e934f0
%{_sbindir}/perfquery
e934f0
%{_mandir}/man8/perfquery*
e934f0
%{_sbindir}/sminfo
e934f0
%{_mandir}/man8/sminfo*
e934f0
%{_sbindir}/smpdump
e934f0
%{_mandir}/man8/smpdump*
e934f0
%{_sbindir}/smpquery
e934f0
%{_mandir}/man8/smpquery*
e934f0
%{_sbindir}/saquery
e934f0
%{_mandir}/man8/saquery*
e934f0
%{_sbindir}/vendstat
e934f0
%{_mandir}/man8/vendstat*
e934f0
%{_sbindir}/iblinkinfo
e934f0
%{_mandir}/man8/iblinkinfo*
e934f0
%{_sbindir}/ibqueryerrors
e934f0
%{_mandir}/man8/ibqueryerrors*
e934f0
%{_sbindir}/ibcacheedit
e934f0
%{_mandir}/man8/ibcacheedit*
e934f0
%{_sbindir}/ibccquery
e934f0
%{_mandir}/man8/ibccquery*
e934f0
%{_sbindir}/ibccconfig
e934f0
%{_mandir}/man8/ibccconfig*
e934f0
%{_sbindir}/dump_fts
e934f0
%{_mandir}/man8/dump_fts*
e934f0
%{_sbindir}/ibhosts
e934f0
%{_mandir}/man8/ibhosts*
e934f0
%{_sbindir}/ibswitches
e934f0
%{_mandir}/man8/ibswitches*
e934f0
%{_sbindir}/ibnodes
e934f0
%{_mandir}/man8/ibnodes*
e934f0
%{_sbindir}/ibrouters
e934f0
%{_mandir}/man8/ibrouters*
e934f0
%{_sbindir}/ibfindnodesusing.pl
e934f0
%{_mandir}/man8/ibfindnodesusing*
e934f0
%{_sbindir}/ibidsverify.pl
e934f0
%{_mandir}/man8/ibidsverify*
e934f0
%{_sbindir}/check_lft_balance.pl
e934f0
%{_mandir}/man8/check_lft_balance*
e934f0
%{_sbindir}/dump_lfts.sh
e934f0
%{_mandir}/man8/dump_lfts*
e934f0
%{_sbindir}/dump_mfts.sh
e934f0
%{_mandir}/man8/dump_mfts*
e934f0
%{_sbindir}/ibstatus
e934f0
%{_mandir}/man8/ibstatus*
e934f0
%{_mandir}/man8/infiniband-diags*
e934f0
%{_libdir}/libibmad*.so.*
e934f0
%{_libdir}/libibnetdisc*.so.*
e934f0
%{perl_vendorlib}/IBswcountlimits.pm
e934f0
%config(noreplace) %{_sysconfdir}/infiniband-diags/error_thresholds
e934f0
%config(noreplace) %{_sysconfdir}/infiniband-diags/ibdiag.conf
e934f0
e934f0
%files -n libibverbs
e934f0
%dir %{_sysconfdir}/libibverbs.d
e934f0
%dir %{_libdir}/libibverbs
e934f0
%{_libdir}/libefa.so.*
e934f0
%{_libdir}/libibverbs*.so.*
e934f0
%{_libdir}/libibverbs/*.so
e934f0
%{_libdir}/libmlx5.so.*
e934f0
%{_libdir}/libmlx4.so.*
e934f0
%config(noreplace) %{_sysconfdir}/libibverbs.d/*.driver
e934f0
%doc %{_docdir}/%{name}/libibverbs.md
e934f0
e934f0
%files -n libibverbs-utils
e934f0
%{_bindir}/ibv_*
e934f0
%{_mandir}/man1/ibv_*
e934f0
e934f0
%files -n ibacm
e934f0
%config(noreplace) %{_sysconfdir}/rdma/ibacm_opts.cfg
e934f0
%{_bindir}/ib_acme
e934f0
%{_sbindir}/ibacm
e934f0
%{_mandir}/man1/ib_acme.*
e934f0
%{_mandir}/man7/ibacm.*
e934f0
%{_mandir}/man7/ibacm_prov.*
e934f0
%{_mandir}/man8/ibacm.*
e934f0
%{_unitdir}/ibacm.service
e934f0
%{_unitdir}/ibacm.socket
e934f0
%dir %{_libdir}/ibacm
e934f0
%{_libdir}/ibacm/*
e934f0
%doc %{_docdir}/%{name}/ibacm.md
e934f0
e934f0
%files -n iwpmd
e934f0
%{_sbindir}/iwpmd
e934f0
%{_unitdir}/iwpmd.service
e934f0
%config(noreplace) %{_sysconfdir}/rdma/modules/iwpmd.conf
e934f0
%config(noreplace) %{_sysconfdir}/iwpmd.conf
e934f0
%{_udevrulesdir}/90-iwpmd.rules
e934f0
%{_mandir}/man8/iwpmd.*
e934f0
%{_mandir}/man5/iwpmd.*
e934f0
e934f0
%files -n libibumad
e934f0
%{_libdir}/libibumad*.so.*
e934f0
e934f0
%files -n librdmacm
e934f0
%{_libdir}/librdmacm*.so.*
e934f0
%dir %{_libdir}/rsocket
e934f0
%{_libdir}/rsocket/*.so*
e934f0
%doc %{_docdir}/%{name}/librdmacm.md
e934f0
%{_mandir}/man7/rsocket.*
e934f0
e934f0
%files -n librdmacm-utils
e934f0
%{_bindir}/cmtime
e934f0
%{_bindir}/mckey
e934f0
%{_bindir}/rcopy
e934f0
%{_bindir}/rdma_client
e934f0
%{_bindir}/rdma_server
e934f0
%{_bindir}/rdma_xclient
e934f0
%{_bindir}/rdma_xserver
e934f0
%{_bindir}/riostream
e934f0
%{_bindir}/rping
e934f0
%{_bindir}/rstream
e934f0
%{_bindir}/ucmatose
e934f0
%{_bindir}/udaddy
e934f0
%{_bindir}/udpong
e934f0
%{_mandir}/man1/cmtime.*
e934f0
%{_mandir}/man1/mckey.*
e934f0
%{_mandir}/man1/rcopy.*
e934f0
%{_mandir}/man1/rdma_client.*
e934f0
%{_mandir}/man1/rdma_server.*
e934f0
%{_mandir}/man1/rdma_xclient.*
e934f0
%{_mandir}/man1/rdma_xserver.*
e934f0
%{_mandir}/man1/riostream.*
e934f0
%{_mandir}/man1/rping.*
e934f0
%{_mandir}/man1/rstream.*
e934f0
%{_mandir}/man1/ucmatose.*
e934f0
%{_mandir}/man1/udaddy.*
e934f0
%{_mandir}/man1/udpong.*
e934f0
e934f0
%files -n srp_daemon
e934f0
%config(noreplace) %{_sysconfdir}/srp_daemon.conf
e934f0
%config(noreplace) %{_sysconfdir}/rdma/modules/srp_daemon.conf
e934f0
%{_libexecdir}/srp_daemon/start_on_all_ports
e934f0
%{_unitdir}/srp_daemon.service
e934f0
%{_unitdir}/srp_daemon_port@.service
e934f0
%{_sbindir}/ibsrpdm
e934f0
%{_sbindir}/srp_daemon
e934f0
%{_sbindir}/run_srp_daemon
e934f0
%{_udevrulesdir}/60-srp_daemon.rules
e934f0
%{_mandir}/man5/srp_daemon.service.5*
e934f0
%{_mandir}/man5/srp_daemon_port@.service.5*
e934f0
%{_mandir}/man8/ibsrpdm.8*
e934f0
%{_mandir}/man8/srp_daemon.8*
e934f0
%doc %{_docdir}/%{name}/ibsrpdm.md
e934f0
e934f0
%if %{with_pyverbs}
e934f0
%files -n python3-pyverbs
e934f0
%{python3_sitearch}/pyverbs
e934f0
%{_docdir}/%{name}/tests/*.py
e934f0
%endif
e934f0
e934f0
%changelog
168450
* Wed Feb 01 2023 Michal Schmidt <mschmidt@redhat.com> - 44.0-2
168450
- Fix covscan-found issues.
168450
- Resolves: rhbz#2112984, rhbz#2142687
168450
168450
* Wed Feb 01 2023 Michal Schmidt <mschmidt@redhat.com> - 44.0-1
168450
- Rebase to upstream release v44.0
168450
- Resolves: rhbz#2112984, rhbz#2142687
168450
2c72f4
* Tue Aug 02 2022 Michal Schmidt <mschmidt@redhat.com> - 41.0-3
2c72f4
- Rebase to upstream release v41.0
2c72f4
- Resolves: rhbz#2049521
2c72f4
e934f0
* Tue Jan 18 2022 Honggang Li <honli@redhat.com> - 37.2-1
e934f0
- Rebase to upstream release v37.2
e934f0
- Resolves: rhbz#2035043, rhbz#2034948
e934f0
e934f0
* Wed Oct 20 2021 Honggang Li <honli@redhat.com> - 37.1-1
e934f0
- Rebase to upstream release v37.1
e934f0
- Resolves: rhbz#1994803
e934f0
e934f0
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 35.0-3
e934f0
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
e934f0
  Related: rhbz#1991688
e934f0
e934f0
* Wed Jun 16 2021 Honggang Li <honli@redhat.com> - 35.0-2
e934f0
- Bump the version tag and rebuild because of brew system issue
e934f0
- Related: rhbz#1858568
e934f0
e934f0
* Tue May 25 2021 Honggang Li <honli@redhat.com> - 35.0-1
e934f0
- Rebase to upstream release v35.0
e934f0
- Resolves: rhbz#1858568, rhbz#1877133, rhbz#1869457
e934f0
e934f0
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 34.0-4
e934f0
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
e934f0
e934f0
* Tue Mar 30 2021 Pete Walter <pwalter@fedoraproject.org> - 34.0-3
e934f0
- Add self obsoletes to remove i686 multilib package when updating to F34
e934f0
e934f0
* Mon Mar 08 2021 Honggang Li <honli@redhat.com> - 34.0-2
e934f0
- RHEL9 will use prebuild doc
e934f0
e934f0
* Wed Mar 03 2021 Honggang Li <honli@redhat.com> - 34.0-1
e934f0
- Rebase to upstream release v34.0
e934f0
e934f0
* Mon Feb 01 2021 Honggang Li <honli@redhat.com> - 33.0-5
e934f0
- Disable HCA rename for ELN
e934f0
e934f0
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 33.0-4
e934f0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
e934f0
e934f0
* Mon Jan 25 2021 Honggang Li <honli@redhat.com> - 33.0-3
e934f0
- Fix ELN build issue
e934f0
e934f0
* Thu Jan 21 2021 Honggang Li <honli@redhat.com> - 33.0-2
e934f0
- libibverbs obsoletes libibverbs-core for fedora-34
e934f0
e934f0
* Mon Jan 18 2021 Honggang Li <honli@redhat.com> - 33.0-1
e934f0
- Rebase to upstream release v33.0
e934f0
e934f0
* Mon Jan 18 2021 Honggang Li <honli@redhat.com> - 32.0-2
e934f0
- Remove base package dependency from all sub-packages
e934f0
- Resolves: bz1901086
e934f0
e934f0
* Thu Oct 29 2020 Honggang Li <honli@redhat.com> - 32.0-1
e934f0
- Rebase to upstream release v32.0
e934f0
e934f0
* Mon Sep 14 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 31.0-2
e934f0
- Split out libibverbs to sub package for libpcap
e934f0
e934f0
* Wed Aug 19 2020 Honggang Li <honli@redhat.com> - 31.0-1
e934f0
- Rebase to upstream release v31.0
e934f0
e934f0
* Thu Jul 30 2020 Honggang Li <honli@redhat.com> - 30.0-6
e934f0
- Update cmake options
e934f0
e934f0
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 30.0-5
e934f0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
e934f0
e934f0
* Thu Jul 02 2020 Stephen Gallagher <sgallagh@redhat.com> - 30.0-4
e934f0
- Don't throw script errors if udev is not installed
e934f0
e934f0
* Wed Jul  1 2020 Jeff Law <law@redhat.com> - 30.0-3
e934f0
- Disable LTO
e934f0
e934f0
* Thu Jun 25 2020 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 30.0-2
e934f0
- Drop dependencies on systemd (#1837812)
e934f0
e934f0
* Mon Jun 15 2020 Honggang Li <honli@redhat.com> - 30.0-1
e934f0
- Rebase to upstream release v30.0
e934f0
e934f0
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 29.0-2
e934f0
- Rebuilt for Python 3.9
e934f0
e934f0
* Mon Apr 13 2020 Honggang Li <honli@redhat.com> - 29.0-1
e934f0
- Rebase to upstream release v29.0
e934f0
e934f0
* Wed Feb 12 2020 Honggang Li <honli@redhat.com> - 28.0-1
e934f0
- Rebase to upstream release v28.0
e934f0
e934f0
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 27.0-4
e934f0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
e934f0
e934f0
* Sun Jan 19 2020 Orion Poplawski <orion@nwra.com> - 27.0-3
e934f0
- Fix typo in requires
e934f0
e934f0
* Sun Jan 19 2020 Honggang Li <honli@redhat.com> - 27.0-2
e934f0
- Backport some spec improvement from upstream
e934f0
e934f0
* Thu Dec 12 2019 Honggang Li <honli@redhat.com> - 27.0-1
e934f0
- Rebase to upstream release v27.0
e934f0
e934f0
* Thu Nov 28 2019 Honggang Li <honli@redhat.com> - 26.1-1
e934f0
- Rebase to upstream release v26.1
e934f0
e934f0
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 20.1-4
e934f0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
e934f0
e934f0
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 20.1-3
e934f0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
e934f0
e934f0
* Wed Jan 23 2019 Björn Esser <besser82@fedoraproject.org> - 20.1-2
e934f0
- Append curdir to CMake invokation. (#1668512)
e934f0
e934f0
* Fri Oct 19 2018 Jarod Wilson <jarod@redhat.com> - 20.1-1
e934f0
- Long overdue update to upstream v20.1 stable release
e934f0
e934f0
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 16.2-5
e934f0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
e934f0
e934f0
* Sun Mar 18 2018 Iryna Shcherbina <ishcherb@redhat.com> - 16.2-4
e934f0
- Update Python 2 dependency declarations to new packaging standards
e934f0
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
e934f0
e934f0
* Tue Feb 06 2018 Orion Poplawski <orion@nwra.com> - 16.2-3
e934f0
- Build for s390/x
e934f0
e934f0
* Tue Feb 06 2018 Patrick Uiterwijk <patrick@puiterwijk.org> - 16.2-2
e934f0
- Fix escaped macro
e934f0
e934f0
* Sun Feb 04 2018 Doug Ledford <dledford@redhat.com> - 16.2-1
e934f0
- Update to rdma-core-16.2
e934f0
- Drop the old sysv initscript files
e934f0
e934f0
* Wed Aug 09 2017 Jarod Wilson <jarod@redhat.com> - 14-4
e934f0
- Make use of systemd_requires, own srp_daemon dir
e934f0
e934f0
* Tue Aug 01 2017 Jarod Wilson <jarod@redhat.com> - 14-3
e934f0
- Revert work-around for ppc64le library issues
e934f0
- Add Obsoletes/Provides for libusnic_verbs
e934f0
e934f0
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 14-2
e934f0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
e934f0
e934f0
* Tue Jul 25 2017 Jarod Wilson <jarod@redhat.com> - 14-1
e934f0
- Update to upstream v14 release
e934f0
- Sync packaging updates from RHEL and upstream
e934f0
e934f0
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 12-2
e934f0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
e934f0
e934f0
* Fri Jan 27 2017 Jarod Wilson <jarod@redhat.com> - 12-1
e934f0
- Update to upstream final v12 release
e934f0
e934f0
* Wed Jan 25 2017 Jarod Wilson <jarod@redhat.com> - 12-0.1.rc3.1
e934f0
- Initial import to Fedora package database via post-v12-rc3 git snapshot