build: disable hardening

Version: 9.4.1-4
This commit is contained in:
Pavel Raiskup 2015-05-22 00:04:38 +02:00
parent 3120db36c4
commit 3c624ca2d8

View File

@ -53,6 +53,10 @@
%{!?selinux:%global selinux 1} %{!?selinux:%global selinux 1}
%{!?runselftest:%global runselftest 1} %{!?runselftest:%global runselftest 1}
# do not fail on 32-bit architectures with globally enabled hardening, see the
# FESCO ticket #1384 and rhbz#947022 for more info.
%undefine _hardened_build
# By default, patch(1) creates backup files when chunks apply with offsets. # By default, patch(1) creates backup files when chunks apply with offsets.
# Turn that off to ensure such files don't get included in RPMs. # Turn that off to ensure such files don't get included in RPMs.
%global _default_patch_flags --no-backup-if-mismatch %global _default_patch_flags --no-backup-if-mismatch
@ -1194,6 +1198,7 @@ fi
%changelog %changelog
* Thu May 21 2015 Pavel Raiskup <praiskup@redhat.com> - 9.4.1-4 * Thu May 21 2015 Pavel Raiskup <praiskup@redhat.com> - 9.4.1-4
- make the %%check phase more verbose for FAIL cases - make the %%check phase more verbose for FAIL cases
- don't FTBFS on f23+ where hardening is on by default
* Wed Mar 25 2015 Jozef Mlich <jmlich@redhat.com> - 9.4.1-3 * Wed Mar 25 2015 Jozef Mlich <jmlich@redhat.com> - 9.4.1-3
- update to postgresql-setup 3.3 - update to postgresql-setup 3.3