Fix rpmlint errors (#1323561)

This commit is contained in:
Pavel Zhukov 2017-06-30 10:20:26 +02:00
parent e3d780f679
commit 341692457c

View File

@ -1,4 +1,5 @@
#TODO: stop using local copy of libdnet, once system distributed version supports sctp (grep sctp /usr/include/dnet.h)
#TODO: stop using local copy of libdnet, once system distributed version
#supports sctp (grep sctp /usr/include/dnet.h)
%global _hardened_build 1
@ -7,7 +8,7 @@ Name: nmap
Epoch: 2
Version: 7.50
#global prerelease TEST5
Release: 2%{?dist}
Release: 3%{?dist}
# Uses combination of licenses based on GPL license, but with extra modification
# so it got its own license tag rhbz#1055861
License: Nmap
@ -46,8 +47,8 @@ and port specification, decoy scanning, determination of TCP sequence
predictability characteristics, reverse-identd scanning, and more. In addition
to the classic command-line nmap executable, the Nmap suite includes a flexible
data transfer, redirection, and debugging tool (netcat utility ncat), a utility
for comparing scan results (ndiff), and a packet generation and response analysis
tool (nping).
for comparing scan results (ndiff), and a packet generation and response
analysis tool (nping).
%package frontend
Summary: The GTK+ front end for nmap
@ -104,7 +105,7 @@ sed -i 's|^LOCALE_DIR = .*|LOCALE_DIR = join(prefix, "share", "locale")|' zenmap
%build
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
export CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
#%configure --with-libpcap=/usr ###TODO###
### TODO ## configure --with-libpcap=/usr ###TODO###
%configure --with-libpcap=/usr --with-liblua=included
make %{?_smp_mflags}
@ -220,8 +221,9 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man1/xnmap.1.gz
%changelog
* Fri Jun 30 2017 Pavel Zhukov <landgraf@fedoraproject.org> - 2:7.50-2
* Fri Jun 30 2017 Pavel Zhukov <landgraf@fedoraproject.org> - 2:7.50-3
- Add provides for nc6 (#1348348)
- Fix rpmlint errors
* Wed Jun 21 2017 Pavel Zhukov <landgraf@fedoraproject.org> - 2:7.50-1
- New release (7.50)