!5 yum安装后无法直接使用man 查看帮助手册,更新spec,让主包安装时依赖help包

From: @jl_git
Reviewed-by: @lei_ju,@small_leek
Signed-off-by: @small_leek
This commit is contained in:
openeuler-ci-bot 2020-11-09 19:29:01 +08:00 committed by Gitee
commit 7ce76c75f6

View File

@ -1,6 +1,6 @@
Name: nss_wrapper
Version: 1.1.3
Release: 3
Release: 4
License: BSD
Summary: A wrapper for the user, group and hosts NSS API
Url: https://cwrap.org/
@ -8,7 +8,7 @@ Source0: https://ftp.samba.org/pub/cwrap/%{name}-%{version}.tar.gz
Patch0000: 0001-Optimized-group_save-implemenation-in-case-of-selinux-attr-changes.patch
BuildRequires: cmake libcmocka-devel
Requires: cmake pkgconfig
Requires: cmake pkgconfig nss_wrapper-help
%description
Some projects provide daemons that need to be able to create,
@ -72,6 +72,9 @@ make test
%{_mandir}/man1/nss_wrapper.1*
%changelog
* Fri Nov 6 2020 jialei <jialei17@huawei.com> - 1.1.3-4
- add help for Requires
* Thu Sep 3 2020 Guoshuai Sun <sunguoshuai@huawei.com> - 1.1.3-3
- Optimized group_save implemenation in case of selinux attr changes