diff options
author | Jan Cholasta <jcholast@redhat.com> | 2013-11-27 13:13:16 +0000 |
---|---|---|
committer | Martin Kosek <mkosek@redhat.com> | 2013-12-02 12:37:41 +0100 |
commit | 652c4e6ace7c4eae6ffb12093487c2d8180806f5 (patch) | |
tree | c2ceaec238a76e81fdaa690f32920d8a6339180e /freeipa.spec.in | |
parent | 32df84f04ba300020bbc232ed7119838ae31fea6 (diff) | |
download | freeipa-652c4e6ace7c4eae6ffb12093487c2d8180806f5.tar.gz freeipa-652c4e6ace7c4eae6ffb12093487c2d8180806f5.tar.xz freeipa-652c4e6ace7c4eae6ffb12093487c2d8180806f5.zip |
Use hardening flags for ipa-optd.
https://fedorahosted.org/freeipa/ticket/4010
Diffstat (limited to 'freeipa.spec.in')
-rw-r--r-- | freeipa.spec.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/freeipa.spec.in b/freeipa.spec.in index 35b87148c..8ee69fc77 100644 --- a/freeipa.spec.in +++ b/freeipa.spec.in @@ -5,6 +5,10 @@ %global POLICYCOREUTILSVER 2.1.12-5 %global gettext_domain ipa +%if (0%{?fedora} > 15 || 0%{?rhel} >= 7) +%define _hardened_build 1 +%endif + Name: freeipa Version: __VERSION__ Release: __RELEASE__%{?dist} |