diff --git a/nmap.spec b/nmap.spec index 83827cc..0aeff71 100644 --- a/nmap.spec +++ b/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 - 2:7.92-2 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC:fix nc command permission error + * Thu Dec 09 2021 quanhongfei - 2:7.92-1 - Type:requirement - ID:NA