!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:
commit
141094e70b
12
nmap.spec
12
nmap.spec
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user