From 886db62167ea7e2d7b8b46299b29f9afb401aea3 Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Mon, 11 Aug 2008 19:52:55 +0000 Subject: [PATCH] really fix license tag and BR --- nmap.spec | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/nmap.spec b/nmap.spec index 8e2f511..6ff0b52 100644 --- a/nmap.spec +++ b/nmap.spec @@ -1,8 +1,9 @@ Summary: Network exploration tool and security scanner Name: nmap Version: 4.68 -Release: 2%{?dist} -License: BSD with advertising and BSD and GPLv2 +Release: 3%{?dist} +# libdnet-stripped is BSD (advertising clause rescinded by the Univ. of California in 1999) +License: GPLv2 Group: Applications/System Source0: http://download.insecure.org/nmap/dist/%{name}-%{version}.tar.bz2 Source1: zenmap.desktop @@ -14,7 +15,7 @@ Patch3: nmap-4.68-nostrip.patch URL: http://www.insecure.org/nmap/ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Epoch: 2 -BuildRequires: openssl-devel, gtk2-devel +BuildRequires: openssl-devel, gtk2-devel, lua-devel, libpcap-devel, pcre-devel BuildRequires: /usr/bin/desktop-file-install %define pixmap_srcdir zenmap/share/pixmaps @@ -48,6 +49,8 @@ be installed before installing nmap-frontend. #mv %{pixmap_srcdir}/*.svg %{pixmap_srcdir}/zenmap #mv %{pixmap_srcdir}/*.png %{pixmap_srcdir}/zenmap +rm -rf liblua libpcap libpcre + %build export CFLAGS="$RPM_OPT_FLAGS" export CXXFLAGS="$RPM_OPT_FLAGS" @@ -108,6 +111,10 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man1/xnmap.1.gz %changelog +* Mon Aug 11 2008 Tom "spot" Callaway - 2:4.68-3 +- add missing BuildRequires to use system libs rather than local copies +- really fix license tag + * Mon Aug 11 2008 Tom "spot" Callaway - 2:4.68-2 - fix license tag