[389-ds-base/f17] Ticket 47332 - 389-ds-base package should be built with PIE flags

Mark Reynolds mreynolds at fedoraproject.org
Wed Apr 24 18:02:13 UTC 2013


commit df87321cd58c83f1c04c4f909754df0fa52e2173
Author: Mark Reynolds <mreynolds at redhat.com>
Date:   Wed Apr 24 11:43:25 2013 -0400

    Ticket 47332 - 389-ds-base package should be built with PIE flags
    
    Description:  Packaging guidelines require that 389 be built with PIE flags.
    
    https://fedorahosted.org/389/ticket/47332
    
    Reviewed by: nhosoi(Thanks!)
    (cherry picked from commit f5b17abc3740571ead6a3423a56e55523bce62b3)

 389-ds-base.spec |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/389-ds-base.spec b/389-ds-base.spec
index 849d678..a33815b 100644
--- a/389-ds-base.spec
+++ b/389-ds-base.spec
@@ -19,6 +19,9 @@
 # systemd support
 %global groupname %{pkgname}.target
 
+# set PIE flag
+%global _hardened_build 1
+
 Summary:          389 Directory Server (base)
 Name:             389-ds-base
 Version:          1.2.11.21


More information about the scm-commits mailing list