Fix Systemd Scriptlets
Signed-off-by: Honggang Li <honli@redhat.com>
This commit is contained in:
parent
fb5dc650a4
commit
4dd9584043
@ -1,6 +1,6 @@
|
||||
Name: rdma-core
|
||||
Version: 37.0
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: RDMA core userspace libraries and daemons
|
||||
|
||||
# Almost everything is licensed under the OFA dual GPLv2, 2 Clause BSD license
|
||||
@ -208,9 +208,7 @@ displays information about RDMA devices.
|
||||
|
||||
%package -n ibacm
|
||||
Summary: InfiniBand Communication Manager Assistant
|
||||
Requires(post): systemd-units
|
||||
Requires(preun): systemd-units
|
||||
Requires(postun): systemd-units
|
||||
%{?systemd_requires}
|
||||
|
||||
%description -n ibacm
|
||||
The ibacm daemon helps reduce the load of managing path record lookups on
|
||||
@ -224,9 +222,7 @@ library knows how to talk directly to the ibacm daemon to retrieve data.
|
||||
|
||||
%package -n iwpmd
|
||||
Summary: iWarp Port Mapper userspace daemon
|
||||
Requires(post): systemd-units
|
||||
Requires(preun): systemd-units
|
||||
Requires(postun): systemd-units
|
||||
%{?systemd_requires}
|
||||
|
||||
%description -n iwpmd
|
||||
iwpmd provides a userspace service for iWarp drivers to claim
|
||||
@ -258,9 +254,7 @@ Summary: Tools for using the InfiniBand SRP protocol devices
|
||||
Obsoletes: srptools <= 1.0.3
|
||||
Provides: srptools = %{version}-%{release}
|
||||
Obsoletes: openib-srptools <= 0.0.6
|
||||
Requires(post): systemd-units
|
||||
Requires(preun): systemd-units
|
||||
Requires(postun): systemd-units
|
||||
%{?systemd_requires}
|
||||
|
||||
%description -n srp_daemon
|
||||
In conjunction with the kernel ib_srp driver, srp_daemon allows you to
|
||||
@ -666,6 +660,9 @@ fi
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Sun Sep 26 2021 Honggang Li <honli@redhat.com> - 37.0-2
|
||||
- Use systemd scriptlets
|
||||
|
||||
* Wed Sep 22 2021 Honggang Li <honli@redhat.com> - 37.0-1
|
||||
- Rebase to upstream release v37.0
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user