1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-04 13:49:03 +00:00

Include nmap-update in the RPM spec.

This commit is contained in:
david
2012-01-02 00:14:01 +00:00
parent f7aa1eea8a
commit 12f26d32b4

View File

@@ -24,7 +24,7 @@ Source0: http://nmap.org/dist/%{name}-%{version}.tgz
URL: http://nmap.org
# For Ndiff.
Requires: python >= 2.4
Requires: python >= 2.4, subversion-devel
# RPM can't be relocatable until I stop storing path info in the binary.
# Prefix: %{_prefix}
@@ -60,7 +60,7 @@ CXXFLAGS="-I/usr/lib/%{_target_cpu}-redhat-linux4E/include -B/usr/lib/%{_target_
# /usr/lib/gcc/i386-redhat-linux/3.4.6/libgcc_s.so: undefined reference to `__stack_chk_fail@GLIBC_2.4'
# LDFLAGS="-B/usr/lib/%{_target_cpu}-redhat-linux4E/lib/ $LDFLAGS"; export LDFLAGS
%configure --with-openssl=%{openssl} --without-zenmap --with-ndiff --with-libdnet=included --with-libpcap=included --with-libpcre=included --with-liblua=included
%configure --with-openssl=%{openssl} --without-zenmap --with-ndiff --with-nmap-update --with-libdnet=included --with-libpcap=included --with-libpcre=included --with-liblua=included
%if "%{buildncat}" == "0"
%configure --without-ncat
%endif
@@ -91,6 +91,7 @@ gzip $RPM_BUILD_ROOT%{_mandir}/man1/* || :
%doc %{_prefix}/share/man/*/man1/nmap.1.gz
%{_bindir}/nmap
%{_datadir}/nmap
%{_bindir}/nmap-update
%{_bindir}/ndiff
%doc %{_prefix}/share/man/man1/ndiff.1.gz