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
This commit is contained in:
Pavel Raiskup 2013-07-09 14:31:08 +02:00
parent a57d617cef
commit 3fea88c154

View File

@ -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@redhat.com> - 9.3.4-4
- do not use -b for manual page fixes
* Thu Jun 20 2013 Pavel Raiskup <praiskup@redhat.com> - 9.3.4-3
- fix README.rpm-dist for the bug (#969050)
- replace hard-wired path with %%{_datadir}