[postgresql/f15] Update to PostgreSQL 9.0.6
Tom Lane
tgl at fedoraproject.org
Mon Dec 5 16:57:31 UTC 2011
commit 5b09354e718e76713c716cf61e17b06090f7e94d
Author: Tom Lane <tgl at redhat.com>
Date: Mon Dec 5 11:57:11 2011 -0500
Update to PostgreSQL 9.0.6
.gitignore | 4 ++--
generate-pdf.sh | 15 +++++++++------
postgresql.spec | 6 +++++-
sources | 4 ++--
4 files changed, 18 insertions(+), 11 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 9d17b22..12646fe 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,3 @@
-/postgresql-9.0.5.tar.bz2
-/postgresql-9.0.5-US.pdf
+/postgresql-9.0.6.tar.bz2
+/postgresql-9.0.6-US.pdf
/postgresql-8.4.6.tar.bz2
diff --git a/generate-pdf.sh b/generate-pdf.sh
index 9158a45..8a8ada5 100755
--- a/generate-pdf.sh
+++ b/generate-pdf.sh
@@ -13,9 +13,10 @@
# You will need to have the docbook packages installed to run this.
# Expect it to take about 20 minutes and use about 160MB of disk.
-# Extract version from specfile
+set -e
-VERSION=`sed -n 's/^Version: //p' postgresql.spec`
+# Pass package version (e.g., 9.1.2) as argument
+VERSION=$1
TARGETFILE=postgresql-$VERSION-US.pdf
@@ -23,17 +24,19 @@ echo Building $TARGETFILE ...
# Unpack and configure postgresql
-tar xfj postgresql-$VERSION.tar.bz2 || exit 1
+rm -rf postgresql-$VERSION
+
+tar xfj postgresql-$VERSION.tar.bz2
-cd postgresql-$VERSION || exit 1
+cd postgresql-$VERSION
-./configure >/dev/null || exit 1
+./configure >/dev/null
# Build the PDF docs
cd doc/src/sgml
-make postgres-US.pdf >make.log || exit 1
+make postgres-US.pdf >make.log
mv -f postgres-US.pdf ../../../../$TARGETFILE
diff --git a/postgresql.spec b/postgresql.spec
index 6c4bcc0..4f8c5f5 100644
--- a/postgresql.spec
+++ b/postgresql.spec
@@ -53,7 +53,7 @@
Summary: PostgreSQL client programs
Name: postgresql
%global majorversion 9.0
-Version: 9.0.5
+Version: 9.0.6
Release: 1%{?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.
@@ -820,6 +820,10 @@ rm -rf $RPM_BUILD_ROOT
%endif
%changelog
+* Mon Dec 5 2011 Tom Lane <tgl at redhat.com> 9.0.6-1
+- Update to PostgreSQL 9.0.6, for various fixes described at
+ http://www.postgresql.org/docs/9.0/static/release-9-0-6.html
+
* Mon Sep 26 2011 Tom Lane <tgl at redhat.com> 9.0.5-1
- Update to PostgreSQL 9.0.5, for various fixes described at
http://www.postgresql.org/docs/9.0/static/release-9-0-5.html
diff --git a/sources b/sources
index 00adfd5..e2907b5 100644
--- a/sources
+++ b/sources
@@ -1,3 +1,3 @@
-86816eb8a8513532957b96045abdfef9 postgresql-9.0.5.tar.bz2
-d6d8a77eb2576e47c943e78a58e9eb80 postgresql-9.0.5-US.pdf
+4ad7e4fc31ef8b8a75a3e4243933963f postgresql-9.0.6.tar.bz2
+5c7074da8e7ef1dec478881e0c1c1d99 postgresql-9.0.6-US.pdf
fcc3daaf2292fa6bf1185ec45e512db6 postgresql-8.4.6.tar.bz2
More information about the scm-commits
mailing list