From 04d8c969b582825ead132855f4b1bb4585cf0c39 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Wed, 3 Aug 2011 09:31:33 -0400 Subject: [PATCH] Build with _hardened_build macro --- sssd.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/sssd.spec b/sssd.spec index 6a348ab..e8952b6 100644 --- a/sssd.spec +++ b/sssd.spec @@ -3,13 +3,17 @@ %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} %endif +%if (0%{?fedora} > 15) +%define _hardened_build 1 +%endif + # Determine the location of the LDB modules directory %global ldb_modulesdir %(pkg-config --variable=modulesdir ldb) %global ldb_version 1.1.0 Name: sssd Version: 1.6.0 -Release: 1%{?dist} +Release: 2%{?dist} Group: Applications/System Summary: System Security Services Daemon License: GPLv3+ @@ -349,6 +353,9 @@ fi %postun -n libipa_hbac -p /sbin/ldconfig %changelog +* Wed Aug 03 2011 Stephen Gallagher - 1.6.0-2 +- Build with _hardened_build macro + * Wed Aug 03 2011 Stephen Gallagher - 1.6.0-1 - New upstream release 1.6.0 - https://fedorahosted.org/sssd/wiki/Releases/Notes-1.6.0