diff --git a/postgresql.spec b/postgresql.spec index 5b5b2b0..e4a8108 100644 --- a/postgresql.spec +++ b/postgresql.spec @@ -60,7 +60,7 @@ Summary: PostgreSQL client programs Name: postgresql %global majorversion 9.2 Version: 9.2.4 -Release: 9%{?dist} +Release: 10%{?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. @@ -576,7 +576,11 @@ rm -f src/tutorial/GNUmakefile # any options that affect on-disk file layout match the previous # major release! Also, note we intentionally do not use %%configure # here, because we *don't* want its ideas about installation paths. - ./configure --build=%{_build} --host=%{_host} \ + + # The -fno-aggressive-loop-optimizations is hack for #993532 + CFLAGS="$CFLAGS -fno-aggressive-loop-optimizations" ./configure \ + --build=%{_build} \ + --host=%{_host} \ --prefix=%{_libdir}/pgsql/postgresql-%{prevmajorversion} \ --disable-rpath \ %if %beta @@ -1124,6 +1128,9 @@ fi %endif %changelog +* Mon Aug 12 2013 Pavel Raiskup - 9.2.4-10 +- disable aggressive loop optimizations for old codebase (#993532) + * Wed Aug 07 2013 Pavel Raiskup - 9.2.4-9 - generate links docdir links in postgresql-check-db-dir correctly (#994048)