diff --git a/.gitignore b/.gitignore index bc23b93..46823fd 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ -/postgresql-9.2.3.tar.bz2 -/postgresql-9.2.3-US.pdf -/postgresql-9.1.8.tar.bz2 +/postgresql-9.2.4.tar.bz2 +/postgresql-9.2.4-US.pdf +/postgresql-9.1.9.tar.bz2 diff --git a/postgresql.spec b/postgresql.spec index 242035b..19ca1d3 100644 --- a/postgresql.spec +++ b/postgresql.spec @@ -57,7 +57,7 @@ Summary: PostgreSQL client programs Name: postgresql %global majorversion 9.2 -Version: 9.2.3 +Version: 9.2.4 Release: 1%{?dist} # The PostgreSQL license is very similar to other MIT licenses, but the OSI @@ -73,7 +73,7 @@ Url: http://www.postgresql.org/ # in-place upgrade of an old database. In most cases it will not be critical # that this be kept up with the latest minor release of the previous series; # but update when bugs affecting pg_dump output are fixed. -%global prevversion 9.1.8 +%global prevversion 9.1.9 %global prevmajorversion 9.1 Source0: ftp://ftp.postgresql.org/pub/source/v%{version}/postgresql-%{version}.tar.bz2 @@ -333,10 +333,19 @@ benchmarks. # We used to run autoconf here, but there's no longer any real need to, # since Postgres ships with a reasonably modern configure script. +# add ppc64p7 support (https://fedoraproject.org/wiki/Features/Power7Subarch) +# hopefully need for this will go away next time upstream updates config.sub +sed -i -e "s/ppc64-\*/ppc64-\* \| ppc64p7-\*/" config/config.sub + cp -p %{SOURCE1} . %if %upgrade tar xfj %{SOURCE3} +# make sure older version is up-to-date on config.guess/config.sub; +# not always necessary, but PG 9.2 knows about aarch64 while 9.1 doesn't +# (and also see the ppc64p7 hack above) +cp -p config/config.guess postgresql-%{prevversion}/config/config.guess +cp -p config/config.sub postgresql-%{prevversion}/config/config.sub %endif # remove .gitignore files to ensure none get into the RPMs (bug #642210) @@ -1088,6 +1097,13 @@ fi %endif %changelog +* Thu Apr 4 2013 Tom Lane 9.2.4-1 +- Update to PostgreSQL 9.2.4, for various fixes described at + http://www.postgresql.org/docs/9.2/static/release-9-2-4.html + including the fixes for CVE-2013-1899, CVE-2013-1900, CVE-2013-1901 +Resolves: #929223, #929255, #929328 +- fix build for aarch64 and ppc64p7 + * Thu Feb 7 2013 Tom Lane 9.2.3-1 - Update to PostgreSQL 9.2.3, for various fixes described at http://www.postgresql.org/docs/9.2/static/release-9-2-3.html diff --git a/sources b/sources index 5efea97..4657dc6 100644 --- a/sources +++ b/sources @@ -1,3 +1,3 @@ -59f42a93695b0186ed5eb03c2653a7d4 postgresql-9.2.3.tar.bz2 -33c8cd75dc2e0a5531a665a27b698718 postgresql-9.2.3-US.pdf -54783b516880a586dcd7c07992d8c0b3 postgresql-9.1.8.tar.bz2 +6ee5bb53b97da7c6ad9cb0825d3300dd postgresql-9.2.4.tar.bz2 +64f70057a3a153e8e237d0c79ccc63e9 postgresql-9.2.4-US.pdf +6b5ea53dde48fcd79acfc8c196b83535 postgresql-9.1.9.tar.bz2