[nss-pam-ldapd] Build with _hardened_build macro
Jakub Hrozek
jhrozek at fedoraproject.org
Sat Oct 5 19:00:42 UTC 2013
commit fa900f3c527023c8e3559b96ec1c41d39fa00616
Author: Jakub Hrozek <jhrozek at redhat.com>
Date: Wed Jul 31 15:02:56 2013 +0200
Build with _hardened_build macro
nss-pam-ldapd.spec | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/nss-pam-ldapd.spec b/nss-pam-ldapd.spec
index 5803909..46cd3b1 100644
--- a/nss-pam-ldapd.spec
+++ b/nss-pam-ldapd.spec
@@ -32,9 +32,14 @@
%global pamdir /%{_lib}/security
%endif
+# For distributions that support it, build with RELRO
+%if (0%{?fedora} > 15 || 0%{?rhel} >= 7)
+%define _hardened_build 1
+%endif
+
Name: nss-pam-ldapd
Version: 0.8.13
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: An nsswitch module which uses directory servers
Group: System Environment/Base
License: LGPLv2+
@@ -329,6 +334,9 @@ exit 0
%endif
%changelog
+* Wed Jul 31 2013 Jakub Hrozek <jhrozek at redhat.com> 0.8.13-3
+- Build with _hardened_build macro
+
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.8.13-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
More information about the scm-commits
mailing list