[apcupsd/f19] make executables hardened (#955341)

Michal Hlavinka mhlavink at fedoraproject.org
Fri May 17 11:46:03 UTC 2013


commit 9cd23e92fe0f9893c947feae172055baade303ad
Author: Michal Hlavinka <mhlavink at redhat.com>
Date:   Fri May 17 13:45:58 2013 +0200

    make executables hardened (#955341)

 apcupsd.spec |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/apcupsd.spec b/apcupsd.spec
index 7b109c4..9eab0ad 100644
--- a/apcupsd.spec
+++ b/apcupsd.spec
@@ -1,6 +1,6 @@
 Name:         apcupsd
 Version:      3.14.10
-Release:      9%{?dist}
+Release:      10%{?dist}
 Summary:      APC UPS Power Control Daemon for Linux
 
 Group:        System Environment/Daemons
@@ -74,6 +74,7 @@ A GUI interface to the APC UPS monitoring daemon.
 printf 'install:\n\techo skipped\n' >platforms/redhat/Makefile
 
 %build
+%global _hardened_build 1
 cp -p /usr/lib/rpm/config.{guess,sub} autoconf/
 export CPPFLAGS="$CPPFLAGS -DNETSNMP_NO_LEGACY_DEFINITIONS"
 %configure \
@@ -185,6 +186,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Fri May 17 2013 Michal Hlavinka <mhlavink at redhat.com> - 3.14.10-10
+- make executables hardened (#955341)
+
 * Thu Feb 14 2013 Toshio Kuratomi <toshio at fedoraproject.org> - 3.14.10-9
 - Remove --vendor flag to desktop-file-install on F19+
 


More information about the scm-commits mailing list