From af5a1aa7d2902678b9911c2e9bbed6c9ba9ab0c2 Mon Sep 17 00:00:00 2001 From: Michal Schorm Date: Fri, 12 Feb 2021 11:54:19 +0100 Subject: [PATCH] Remove the ancient PPC64 hack The package should honor the global build flags --- postgresql.spec | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/postgresql.spec b/postgresql.spec index a81c988..e1cf454 100644 --- a/postgresql.spec +++ b/postgresql.spec @@ -61,7 +61,7 @@ Summary: PostgreSQL client programs Name: postgresql %global majorversion 13 Version: %{majorversion}.1 -Release: 1%{?dist} +Release: 2%{?dist} # The PostgreSQL license is very similar to other MIT licenses, but the OSI # recognizes it as an independent license, so we do as well. @@ -440,10 +440,6 @@ cd .. # Fiddling with CFLAGS. CFLAGS="${CFLAGS:-%optflags}" -%ifarch %{power64} -# See the bug #1051075, ppc64 should benefit from -O3 -CFLAGS=`echo $CFLAGS | xargs -n 1 | sed 's|-O2|-O3|g' | xargs -n 100` -%endif # Strip out -ffast-math from CFLAGS.... CFLAGS=`echo $CFLAGS|xargs -n 1|grep -v ffast-math|xargs -n 100` export CFLAGS @@ -1264,6 +1260,9 @@ make -C postgresql-setup-%{setup_version} check %changelog +* Fri Feb 12 2021 Michal Schorm - 13.1-2 +- Remove ancient PPC64 hack + * Wed Nov 18 2020 Honza Horak - 13.1-1 - Rebase to usptream release 13.1