From 5e81046dd09a2f0a5b8d032f144807a090d3614d Mon Sep 17 00:00:00 2001 From: Jarod Wilson Date: Jul 25 2017 15:53:25 +0000 Subject: Restore systemd-units Requires, systemd_requires no workie Signed-off-by: Jarod Wilson --- diff --git a/rdma-core.spec b/rdma-core.spec index 2401853..5030a09 100644 --- a/rdma-core.spec +++ b/rdma-core.spec @@ -113,8 +113,6 @@ RDMA core development libraries and headers. %package -n libibverbs 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: libcxgb3 = %{version}-%{release} Obsoletes: libcxgb3 < %{version}-%{release} @@ -175,7 +173,9 @@ displays information about RDMA devices. %package -n ibacm Summary: InfiniBand Communication Manager Assistant -%systemd_requires +Requires(post): systemd-units +Requires(preun): systemd-units +Requires(postun): systemd-units Requires: %{name}%{?_isa} = %{version}-%{release} Requires: libibumad%{?_isa} = %{version}-%{release} Requires: libibverbs%{?_isa} = %{version}-%{release} @@ -192,7 +192,9 @@ library knows how to talk directly to the ibacm daemon to retrieve data. %package -n iwpmd Summary: iWarp Port Mapper userspace daemon -%systemd_requires +Requires(post): systemd-units +Requires(preun): systemd-units +Requires(postun): systemd-units Requires: %{name}%{?_isa} = %{version}-%{release} %description -n iwpmd @@ -238,7 +240,9 @@ Summary: Tools for using the InfiniBand SRP protocol devices Obsoletes: srptools <= 1.0.3 Provides: srptools = %{version}-%{release} Obsoletes: openib-srptools <= 0.0.6 -%systemd_requires +Requires(post): systemd-units +Requires(preun): systemd-units +Requires(postun): systemd-units Requires: %{name}%{?_isa} = %{version}-%{release} Requires: libibumad%{?_isa} = %{version}-%{release} Requires: libibverbs%{?_isa} = %{version}-%{release}