add help for Recommends

Signed-off-by: Wenchao Hao <haowenchao@huawei.com>
This commit is contained in:
Wenchao Hao 2020-11-11 10:07:34 +08:00
parent 22d7304ab4
commit 2fc3504161

View File

@ -1,6 +1,6 @@
Name: open-isns
Version: 0.100
Release: 6
Release: 7
Summary: The iSNS server and client programs
License: LGPLv2+
URL: https://www.github.com/open-iscsi/open-isns
@ -14,6 +14,7 @@ Patch5: 0005-Do-not-install-isnsd.socket-in-isnsd.service.patch
BuildRequires: gcc systemd automake autoconf make
BuildRequires: openssl-devel systemd-devel
Recommends: %{name}-help = %{version}-%{release}
Requires(post): systemd-units
Requires(preun): systemd-units
Requires(postun): systemd-units
@ -98,6 +99,9 @@ install -p -m 644 isnsd.service %{buildroot}%{_unitdir}/isnsd.service
%{_mandir}/man8/*
%changelog
* Mon Sep 27 2021 Wenchao Hao <haowenchao@huawei.com> - 0.100-7
- add help for Recommends
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 0.100-6
- DESC: delete -S git from %autosetup, and delete BuildRequires git