remove pcre dependency
(cherry picked from commit 08ee103198c81ed250b6fc0b14dacb0b9a1943bd)
This commit is contained in:
parent
55b3410aff
commit
1c777fff34
12
nmap.spec
12
nmap.spec
@ -3,14 +3,14 @@
|
||||
Name: nmap
|
||||
Epoch: 2
|
||||
Version: 7.92
|
||||
Release: 3
|
||||
Release: 4
|
||||
License: Nmap
|
||||
Summary: A tool for network discovery and security auditing.
|
||||
Requires: %{name}-ncat = %{epoch}:%{version}-%{release}
|
||||
URL: https://nmap.org/
|
||||
Source0: https://nmap.org/dist/%{name}-%{version}.tar.bz2
|
||||
BuildRequires: automake autoconf gcc-c++ gettext-devel libpcap-devel libssh2-devel
|
||||
BuildRequires: libtool lua-devel openssl-devel pcre-devel
|
||||
BuildRequires: libtool lua-devel openssl-devel
|
||||
|
||||
Obsoletes: nmap-frontend nmap-ndiff nmap-ncat nc < 1.109.20120711-2
|
||||
Obsoletes: nc6 < 1.00-22
|
||||
@ -31,7 +31,7 @@ auditing. It was designed to rapidly scan large networks, but works fine against
|
||||
%prep
|
||||
%autosetup -n %{name}-%{version} -p1
|
||||
|
||||
rm -rf libpcap libpcre macosx mswin32 libssh2 libz
|
||||
rm -rf libpcap macosx mswin32 libssh2 libz
|
||||
|
||||
%build
|
||||
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
||||
@ -66,6 +66,12 @@ ln -s ncat %{buildroot}%{_bindir}/nc
|
||||
%{_mandir}/man1/*.1.gz
|
||||
|
||||
%changelog
|
||||
* Mon May 29 2023 xingwei <xingwei14@h-partners.com> - 2:7.92-4
|
||||
- Type:bugfix
|
||||
- CVE:
|
||||
- SUG:NA
|
||||
- DESC:decouple from PCRE because it has been End-of-life, use local libpcre to build instead
|
||||
|
||||
* Fri Jun 17 2022 gaihuiying <eaglegai@163.com> - 2:7.92-3
|
||||
- Type:bugfix
|
||||
- CVE:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user