[postgresql] spec: do not use 'patch -b' for manual page fixes

Pavel Raiskup praiskup at fedoraproject.org
Tue Jul 9 12:35:48 UTC 2013


commit 3fea88c1546e6d99de43721ff6aadb919f16e5ad
Author: Pavel Raiskup <praiskup at redhat.com>
Date:   Tue Jul 9 14:31:08 2013 +0200

    spec: do not use 'patch -b' for manual page fixes
    
    The 'make install' target in Makefile is written by hand (not generated by
    automake) and it can't tell whether the backups are/(are not) regular
    manpages.  Thus it would install also all backups as it was manual page.
    
    Detected by RPMDiff (private link):
        https://rpmdiff.lab.eng.brq.redhat.com/run/43086/3/
    
    Version: 9.2.4-4

 postgresql.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/postgresql.spec b/postgresql.spec
index cb95153..5f2cb41 100644
--- a/postgresql.spec
+++ b/postgresql.spec
@@ -58,7 +58,7 @@ Summary: PostgreSQL client programs
 Name: postgresql
 %global majorversion 9.2
 Version: 9.2.4
-Release: 3%{?dist}
+Release: 4%{?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.
@@ -337,7 +337,7 @@ benchmarks.
 %patch4 -p1
 %patch5 -p1
 %patch6 -p1
-%patch8 -p1 -b .man-page-day-fixes
+%patch8 -p1
 
 # We used to run autoconf here, but there's no longer any real need to,
 # since Postgres ships with a reasonably modern configure script.
@@ -1109,6 +1109,9 @@ fi
 %endif
 
 %changelog
+* Tue Jul 09 2013 Pavel Raiskup <praiskup at redhat.com> - 9.3.4-4
+- do not use -b for manual page fixes
+
 * Thu Jun 20 2013 Pavel Raiskup <praiskup at redhat.com> - 9.3.4-3
 - fix README.rpm-dist for the bug (#969050)
 - replace hard-wired path with %%{_datadir}


More information about the scm-commits mailing list