Build with _hardened_build macro

This commit is contained in:
Jakub Hrozek 2013-07-31 15:02:56 +02:00
parent 8aee402ed8
commit fa900f3c52
1 changed files with 9 additions and 1 deletions

View File

@ -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@redhat.com> 0.8.13-3
- Build with _hardened_build macro
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.13-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild