rpms/nmap/F-12 nmap.spec,1.61,1.62

Michal Hlavinka mhlavink at fedoraproject.org
Tue Dec 1 12:10:18 UTC 2009


Author: mhlavink

Update of /cvs/extras/rpms/nmap/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv28863

Modified Files:
	nmap.spec 
Log Message:
* Mon Dec 01 2009 Michal Hlavinka <mhlavink at redhat.com> - 2:5.00-5
- spec cleanup



Index: nmap.spec
===================================================================
RCS file: /cvs/extras/rpms/nmap/F-12/nmap.spec,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -p -r1.61 -r1.62
--- nmap.spec	2 Nov 2009 15:51:22 -0000	1.61
+++ nmap.spec	1 Dec 2009 12:10:17 -0000	1.62
@@ -1,11 +1,16 @@
+#TODO: stop using local copy of libdnet, once system distributed version supports sctp (grep sctp /usr/include/dnet.h)
 %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
 %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
 Summary: Network exploration tool and security scanner
 Name: nmap
 Version: 5.00
-Release: 4%{?dist}
-# libdnet-stripped is BSD (advertising clause rescinded by the Univ. of California in 1999)
-License: GPLv2
+Release: 5%{?dist}
+# nmap is GPLv2
+# zenmap is GPLv2 and LGPLv2+ (zenmap/higwidgets) and GPLv2+ (zenmap/radialnet)
+# libdnet-stripped is BSD (advertising clause rescinded by the Univ. of California in 1999) with some parts as Public Domain (crc32)
+# openssl is OpenSSL
+# openssl and libdnet-striped is removed in %%prep section
+License: GPLv2 and LGPLv2+ and GPLv2+ and BSD
 Group: Applications/System
 Source0: http://nmap.org/dist/%{name}-%{version}.tar.bz2
 Source1: zenmap.desktop
@@ -52,7 +57,8 @@ be installed before installing nmap fron
 %patch2 -p1 -b .noms
 %patch3 -p1 -b .nostrip
 
-rm -rf liblua libpcap libpcre
+#be sure we're not using tarballed copies of some libraries
+rm -rf liblua libpcap libpcre macosx mswin32
 
 #fix locale dir
 mv zenmap/share/zenmap/locale zenmap/share
@@ -144,6 +150,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man1/xnmap.1.gz
 
 %changelog
+* Mon Dec 01 2009 Michal Hlavinka <mhlavink at redhat.com> - 2:5.00-5
+- spec cleanup
+
 * Mon Nov 02 2009 Michal Hlavinka <mhlavink at redhat.com> - 2:5.00-4
 - spec cleanup
 




More information about the scm-commits mailing list