!16 [sync] PR-13: fix nc command permission error

From: @openeuler-sync-bot 
Reviewed-by: @zengwefeng 
Signed-off-by: @zengwefeng
This commit is contained in:
openeuler-ci-bot 2022-03-28 07:09:23 +00:00 committed by Gitee
commit 141094e70b
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -3,7 +3,7 @@
Name: nmap
Epoch: 2
Version: 7.92
Release: 1
Release: 2
License: Nmap
Summary: A tool for network discovery and security auditing.
Requires: %{name}-ncat = %{epoch}:%{version}-%{release}
@ -46,8 +46,8 @@ make DESTDIR=%{buildroot} STRIP=true install
rm -f %{buildroot}%{_datadir}/ncat/ca-bundle.crt
rmdir %{buildroot}%{_datadir}/ncat
touch %{buildroot}%{_mandir}/man1/nc.1.gz
touch %{buildroot}%{_bindir}/nc
ln -s ncat.1.gz %{buildroot}%{_mandir}/man1/nc.1.gz
ln -s ncat %{buildroot}%{_bindir}/nc
%find_lang nmap --with-man
@ -65,6 +65,12 @@ touch %{buildroot}%{_bindir}/nc
%{_mandir}/man1/*.1.gz
%changelog
* Tue Feb 08 2022 xinghe <xinghe2@h-partners.com> - 2:7.92-2
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:fix nc command permission error
* Thu Dec 09 2021 quanhongfei <quanhongfei@huawei.com> - 2:7.92-1
- Type:requirement
- ID:NA