From cac63b3ab08353819627c1258db4c10f1c074f40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Stan=C4=9Bk?= Date: Thu, 13 Jun 2013 09:38:22 +0200 Subject: [PATCH] added patch for manual pages (#948933) --- postgresql-man.patch | 49 ++++++++++++++++++++++++++++++++++++++++++++ postgresql.spec | 8 +++++++- 2 files changed, 56 insertions(+), 1 deletion(-) create mode 100644 postgresql-man.patch diff --git a/postgresql-man.patch b/postgresql-man.patch new file mode 100644 index 0000000..de989f5 --- /dev/null +++ b/postgresql-man.patch @@ -0,0 +1,49 @@ +# PostgreSQL manual page completion + +### ecpg ### + +diff -up postgresql-9.2.4/doc/src/sgml/man1/ecpg.1.broken postgresql-9.2.4/doc/src/sgml/man1/ecpg.1 +--- postgresql-9.2.4/doc/src/sgml/man1/ecpg.1.broken 2013-06-05 10:54:39.610443837 +0200 ++++ postgresql-9.2.4/doc/src/sgml/man1/ecpg.1 2013-06-05 10:59:24.115997253 +0200 +@@ -81,6 +81,11 @@ INFORMIX_SE\&. + Define a C preprocessor symbol\&. + .RE + .PP ++\fB\-h \fR ++.RS 4 ++Parse a header file, this option includes otion \fB\-c\fR\&. ++.RE ++.PP + \fB\-i\fR + .RS 4 + Parse system include files as well\&. +@@ -129,6 +134,11 @@ Allow question mark as placeholder for c + .RE + .RE + .PP ++\fB\-\-regression\fR ++.RS 4 ++Run in regression testing mode\&. ++.RE ++.PP + \fB\-t\fR + .RS 4 + Turn on autocommit of transactions\&. In this mode, each SQL command is automatically committed unless it is inside an explicit transaction block\&. In the default mode, commands are committed only when + +### initdb ### + +diff -up postgresql-9.2.4/doc/src/sgml/man1/initdb.1.broken postgresql-9.2.4/doc/src/sgml/man1/initdb.1 +--- postgresql-9.2.4/doc/src/sgml/man1/initdb.1.broken 2013-06-06 10:26:48.405835762 +0200 ++++ postgresql-9.2.4/doc/src/sgml/man1/initdb.1 2013-06-06 10:29:46.084209958 +0200 +@@ -227,6 +227,11 @@ determines that an error prevented it fr + .PP + Other options: + .PP ++\fB\-s\fR, \fB\-\-show\fR ++.RS 4 ++Print the internal settings, then exit\&. ++.RE ++.PP + \fB\-V\fR, \fB\-\-version\fR + .RS 4 + Print the diff --git a/postgresql.spec b/postgresql.spec index a4de426..302a293 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: 2%{?dist} +Release: 3%{?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. @@ -108,6 +108,9 @@ Patch6: postgresql-var-run-socket.patch # ~> #970661 Patch7: postgresql-9.2.4-aarch64-atomic.patch +# Comments for these patches are in the patch files. +Patch8: postgresql-man.patch + BuildRequires: perl(ExtUtils::MakeMaker) glibc-devel bison flex gawk BuildRequires: perl(ExtUtils::Embed), perl-devel BuildRequires: readline-devel zlib-devel @@ -1103,6 +1106,9 @@ fi %endif %changelog +* Thu Jun 13 2013 Jan Stanek - 9.2.4-3 +- added patch for manual pages (#948933) + * Tue Jun 11 2013 Pavel Raiskup - 9.2.4-2 - postgresql-setup: don't create whole path to server's data to make sure that the parent directory has correct permissions (#972425)