From b2169aa2ae531c635371b352af8effe0a6bc4f82 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Tue, 29 Jul 2008 01:50:10 +0000 Subject: [PATCH] So apparently, %patch -F does not actually *work* in the current Fedora infrastructure. Grumble. --- postgresql-ac-version.patch | 8 ++++---- postgresql.spec | 6 +----- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/postgresql-ac-version.patch b/postgresql-ac-version.patch index decc317..f6bb105 100644 --- a/postgresql-ac-version.patch +++ b/postgresql-ac-version.patch @@ -4,12 +4,12 @@ for PostgreSQL, but it's not very tenable in the Fedora/RHEL world. Dike out the check. -diff -Naur postgresql-8.3RC2.orig/configure.in postgresql-8.3RC2/configure.in ---- postgresql-8.3RC2.orig/configure.in 2008-01-17 23:47:32.000000000 -0500 -+++ postgresql-8.3RC2/configure.in 2008-01-18 11:39:58.000000000 -0500 +diff -Naur postgresql-8.3.3.orig/configure.in postgresql-8.3.3/configure.in +--- postgresql-8.3.3.orig/configure.in 2008-06-08 20:38:40.000000000 -0400 ++++ postgresql-8.3.3/configure.in 2008-07-28 21:45:08.000000000 -0400 @@ -19,10 +19,6 @@ - AC_INIT([PostgreSQL], [8.3RC2], [pgsql-bugs@postgresql.org]) + AC_INIT([PostgreSQL], [8.3.3], [pgsql-bugs@postgresql.org]) -m4_if(m4_defn([m4_PACKAGE_VERSION]), [2.59], [], [m4_fatal([Autoconf version 2.59 is required. -Untested combinations of 'autoconf' and PostgreSQL versions are not diff --git a/postgresql.spec b/postgresql.spec index d4dae7b..ad27a82 100755 --- a/postgresql.spec +++ b/postgresql.spec @@ -351,8 +351,7 @@ system, including regression tests and benchmarks. %prep %setup -q %patch1 -p1 -# intentionally allowing fuzz here because of adjacent version number -%patch2 -p1 -F2 +%patch2 -p1 %patch3 -p1 %patch4 -p1 # patch5 is applied later @@ -862,9 +861,6 @@ rm -rf $RPM_BUILD_ROOT %changelog * Mon Jul 28 2008 Tom Lane 8.3.3-3 - Fix build failure caused by new default patch fuzz = 0 policy in rawhide. - The only patch that actually broke was postgresql-ac-version.patch, and - for that it seems better to allow fuzz than to have a guaranteed patch - failure on every upstream minor version update. * Fri Jun 20 2008 Tom Lane 8.3.3-2 - Install Pgtcl in /usr/lib/tcl$TCL_VERSION, not directly in /usr/lib.