[postgresql/f18] add ppc64p7 optimized arch support
Karsten Hopp
karsten at fedoraproject.org
Wed Mar 20 10:00:38 UTC 2013
commit 589e3a0eb042bf3a49fd5556f1a19774a3774663
Author: Karsten Hopp <karsten at redhat.com>
Date: Wed Mar 20 11:00:19 2013 +0100
add ppc64p7 optimized arch support
postgresql.spec | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/postgresql.spec b/postgresql.spec
index 242035b..1ce6bac 100644
--- a/postgresql.spec
+++ b/postgresql.spec
@@ -58,7 +58,7 @@ Summary: PostgreSQL client programs
Name: postgresql
%global majorversion 9.2
Version: 9.2.3
-Release: 1%{?dist}
+Release: 2%{?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.
@@ -333,10 +333,14 @@ benchmarks.
# We used to run autoconf here, but there's no longer any real need to,
# since Postgres ships with a reasonably modern configure script.
+# add ppc64p7 optimized arch support
+sed -i -e "s/ppc64-\*/ppc64-\* \| ppc64p7-\*/" config/config.sub
+
cp -p %{SOURCE1} .
%if %upgrade
tar xfj %{SOURCE3}
+sed -i -e "s/ppc64-\*/ppc64-\* \| ppc64p7-\*/" postgresql-%{prevversion}/config/config.sub
%endif
# remove .gitignore files to ensure none get into the RPMs (bug #642210)
@@ -1088,6 +1092,9 @@ fi
%endif
%changelog
+* Tue Mar 19 2013 Karsten Hopp <karsten at redhat.com> 9.2.3-2
+- add ppc64p7 optimized arch support
+
* Thu Feb 7 2013 Tom Lane <tgl at redhat.com> 9.2.3-1
- Update to PostgreSQL 9.2.3, for various fixes described at
http://www.postgresql.org/docs/9.2/static/release-9-2-3.html
More information about the scm-commits
mailing list