[incron] Add hardening flags. Fixes bug #965519

Kevin Fenzi kevin at fedoraproject.org
Tue May 21 16:54:56 UTC 2013


commit cecbced0f8c384c98bd17c6f47f1ac28ee83c22d
Author: Kevin Fenzi <kevin at scrye.com>
Date:   Tue May 21 10:54:53 2013 -0600

    Add hardening flags. Fixes bug #965519

 incron.spec |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/incron.spec b/incron.spec
index 367ffcc..9e64ffd 100644
--- a/incron.spec
+++ b/incron.spec
@@ -1,7 +1,9 @@
+%global _hardened_build 1
+
 Summary:     Inotify cron system
 Name:        incron
 Version:     0.5.10
-Release:     2%{?dist}
+Release:     3%{?dist}
 
 Group:       System Environment/Base          
 License:     GPLv2
@@ -27,7 +29,7 @@ filesystem events rather than time periods.
 %patch0 -p1 -b .gcc
 
 %build
-make %{?_smp_mflags} CXXFLAGS="%{optflags}"
+make %{?_smp_mflags} CXXFLAGS="%{optflags}" LDFLAGS="%{__global_ldflags}"
 
 %install
 rm -rf %{buildroot}
@@ -80,6 +82,9 @@ rm -rf %{buildroot}
 %doc COPYING CHANGELOG README TODO LICENSE-GPL
 
 %changelog
+* Tue May 21 2013 Kevin Fenzi <kevin at scrye.com> 0.5.10-3
+- Add hardening flags. Fixes bug #965519
+
 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.5.10-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 


More information about the scm-commits mailing list