Remove obsolete ldconfig scriptlets
References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
156687cf3d
commit
735c145cc3
@ -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}
|
||||
@ -304,14 +302,11 @@ install -D -m0644 ibacm_opts.cfg %{buildroot}%{_sysconfdir}/rdma/
|
||||
rm -rf %{buildroot}/%{_initrddir}/
|
||||
rm -f %{buildroot}/%{_sbindir}/srp_daemon.sh
|
||||
|
||||
%post -n libibverbs -p /sbin/ldconfig
|
||||
%postun -n libibverbs -p /sbin/ldconfig
|
||||
%ldconfig_scriptlets -n libibverbs
|
||||
|
||||
%post -n libibumad -p /sbin/ldconfig
|
||||
%postun -n libibumad -p /sbin/ldconfig
|
||||
%ldconfig_scriptlets -n libibumad
|
||||
|
||||
%post -n librdmacm -p /sbin/ldconfig
|
||||
%postun -n librdmacm -p /sbin/ldconfig
|
||||
%ldconfig_scriptlets -n librdmacm
|
||||
|
||||
%post -n ibacm
|
||||
%systemd_post ibacm.service
|
||||
|
Loading…
Reference in New Issue
Block a user