From bc43e98a0b64dc48163e908a050f9e0cc0857f5c Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Oct 18 2017 08:37:30 +0000 Subject: hardening: ftbfs fix on f26 and f27+ s390x Version: 2.4.0-1 --- diff --git a/postgis.spec b/postgis.spec index 999aca9..6e3ef16 100644 --- a/postgis.spec +++ b/postgis.spec @@ -7,6 +7,14 @@ # rhbz#1503454 %global _smp_mflags -j1 +%ifarch s390x +# rhbz#1503476 +%undefine _hardened_build +%endif +%if 0%{?fedora} == 26 +%undefine _hardened_build +%endif + %global majorversion 2.4 %global prevmajorversion 2.3 %global prevversion %{prevmajorversion}.3 @@ -334,6 +342,7 @@ fi - optimize build without %%upgrade - drop explicit requires on libraries (resolved by implicit lib*.so*()) - enable build testsuite +- disable hardening on f26 (all arches) and on s390x (all distros) * Tue Oct 10 2017 Pavel Raiskup - 2.4.0-1 - provide postgis-upgrade package (rhbz#1475177)