Skip to content

Commit

Permalink
redhat: Remove base package dependency from all sub-packages
Browse files Browse the repository at this point in the history
Depends on base package is useful for RDMA users. Unfortunately,
it will pull unwanted packages for Cloud or Edge users who may
don't have RDMA hardware.

Signed-off-by: Honggang Li <honli@redhat.com>
  • Loading branch information
Honggang-LI committed Jan 19, 2021
1 parent 814a41b commit b02de52
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions redhat/rdma-core.spec
Expand Up @@ -92,7 +92,6 @@ scripts, dracut rules, and the rdma-ndd utility.

%package devel
Summary: RDMA core development libraries and headers
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: libibverbs%{?_isa} = %{version}-%{release}
Provides: libibverbs-devel = %{version}-%{release}
Obsoletes: libibverbs-devel < %{version}-%{release}
Expand Down Expand Up @@ -146,7 +145,6 @@ compatibility reasons.
Summary: A library and drivers for direct userspace use of RDMA (InfiniBand/iWARP/RoCE) hardware
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
Requires: %{name}%{?_isa} = %{version}-%{release}
Provides: libcxgb4 = %{version}-%{release}
Obsoletes: libcxgb4 < %{version}-%{release}
Provides: libefa = %{version}-%{release}
Expand Down Expand Up @@ -205,7 +203,6 @@ Summary: InfiniBand Communication Manager Assistant
Requires(post): systemd-units
Requires(preun): systemd-units
Requires(postun): systemd-units
Requires: %{name}%{?_isa} = %{version}-%{release}

%description -n ibacm
The ibacm daemon helps reduce the load of managing path record lookups on
Expand All @@ -222,15 +219,13 @@ Summary: iWarp Port Mapper userspace daemon
Requires(post): systemd-units
Requires(preun): systemd-units
Requires(postun): systemd-units
Requires: %{name}%{?_isa} = %{version}-%{release}

%description -n iwpmd
iwpmd provides a userspace service for iWarp drivers to claim
tcp ports through the standard socket interface.

%package -n libibumad
Summary: OpenFabrics Alliance InfiniBand umad (userspace management datagram) library
Requires: %{name}%{?_isa} = %{version}-%{release}

%description -n libibumad
libibumad provides the userspace management datagram (umad) library
Expand All @@ -239,7 +234,6 @@ are used by the IB diagnostic and management tools, including OpenSM.

%package -n librdmacm
Summary: Userspace RDMA Connection Manager
Requires: %{name}%{?_isa} = %{version}-%{release}

%description -n librdmacm
librdmacm provides a userspace RDMA Communication Management API.
Expand All @@ -259,7 +253,6 @@ Obsoletes: openib-srptools <= 0.0.6
Requires(post): systemd-units
Requires(preun): systemd-units
Requires(postun): systemd-units
Requires: %{name}%{?_isa} = %{version}-%{release}

%description -n srp_daemon
In conjunction with the kernel ib_srp driver, srp_daemon allows you to
Expand Down

0 comments on commit b02de52

Please sign in to comment.