[sssd] Enable hardened build for RHEL7

Jakub Hrozek jhrozek at fedoraproject.org
Wed Jun 12 11:02:44 UTC 2013


commit 6739bfa63030c27da83b07f32008a55c5f7173fb
Author: Jakub Hrozek <jhrozek at redhat.com>
Date:   Thu Jun 6 11:10:42 2013 +0200

    Enable hardened build for RHEL7

 sssd.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/sssd.spec b/sssd.spec
index a5b7dbf..152b04b 100644
--- a/sssd.spec
+++ b/sssd.spec
@@ -6,7 +6,7 @@
 # we don't want to provide private python extension libs
 %define __provides_exclude_from %{python_sitearch}/.*\.so$
 
-%if (0%{?fedora} > 15)
+%if (0%{?fedora} > 15 || 0%{?rhel} >= 7)
 %define _hardened_build 1
 %endif
 
@@ -16,7 +16,7 @@
 
 Name: sssd
 Version: 1.10.0
-Release: 7%{?dist}.beta2
+Release: 8%{?dist}.beta2
 Group: Applications/System
 Summary: System Security Services Daemon
 License: GPLv3+
@@ -712,6 +712,9 @@ fi
 %postun -n libsss_idmap -p /sbin/ldconfig
 
 %changelog
+* Wed Jun 2013 Jakub Hrozek <jhrozek at redhat.com> - 1.10.0-8.beta1
+- Enable hardened build for RHEL7
+
 * Wed Jun 12 2013 Jakub Hrozek <jhrozek at redhat.com> - 1.10.0-8.beta2
 - New upstream release 1.10 beta2
 - https://fedorahosted.org/sssd/wiki/Releases/Notes-1.10.0beta2


More information about the scm-commits mailing list