[nmap] use _hardened_build
Michal Hlavinka
mhlavink at fedoraproject.org
Tue Mar 4 16:30:18 UTC 2014
commit dd456c4c15783dc643a9e0e6cf4aeb13920c45ba
Author: Michal Hlavinka <mhlavink at redhat.com>
Date: Tue Mar 4 17:31:12 2014 +0100
use _hardened_build
nmap.spec | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/nmap.spec b/nmap.spec
index 3d05f9a..104f43f 100644
--- a/nmap.spec
+++ b/nmap.spec
@@ -1,10 +1,13 @@
#TODO: stop using local copy of libdnet, once system distributed version supports sctp (grep sctp /usr/include/dnet.h)
+
+%global _hardened_build 1
+
Summary: Network exploration tool and security scanner
Name: nmap
Epoch: 2
Version: 6.40
#global prerelease TEST5
-Release: 3%{?dist}
+Release: 4%{?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)
@@ -220,6 +223,9 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man1/xnmap.1.gz
%changelog
+* Tue Mar 04 2014 Michal Hlavinka <mhlavink at redhat.com> - 2:6.40-4
+- use _hardened_build
+
* Thu Oct 17 2013 Michal Hlavinka <mhlavink at redhat.com> - 2:6.40-3
- ncat should support UNIX sockets correctly, drop wrapper with socat
More information about the scm-commits
mailing list