!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 Name: nmap
Epoch: 2 Epoch: 2
Version: 7.92 Version: 7.92
Release: 1 Release: 2
License: Nmap License: Nmap
Summary: A tool for network discovery and security auditing. Summary: A tool for network discovery and security auditing.
Requires: %{name}-ncat = %{epoch}:%{version}-%{release} Requires: %{name}-ncat = %{epoch}:%{version}-%{release}
@ -46,8 +46,8 @@ make DESTDIR=%{buildroot} STRIP=true install
rm -f %{buildroot}%{_datadir}/ncat/ca-bundle.crt rm -f %{buildroot}%{_datadir}/ncat/ca-bundle.crt
rmdir %{buildroot}%{_datadir}/ncat rmdir %{buildroot}%{_datadir}/ncat
touch %{buildroot}%{_mandir}/man1/nc.1.gz ln -s ncat.1.gz %{buildroot}%{_mandir}/man1/nc.1.gz
touch %{buildroot}%{_bindir}/nc ln -s ncat %{buildroot}%{_bindir}/nc
%find_lang nmap --with-man %find_lang nmap --with-man
@ -65,6 +65,12 @@ touch %{buildroot}%{_bindir}/nc
%{_mandir}/man1/*.1.gz %{_mandir}/man1/*.1.gz
%changelog %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 * Thu Dec 09 2021 quanhongfei <quanhongfei@huawei.com> - 2:7.92-1
- Type:requirement - Type:requirement
- ID:NA - ID:NA