summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Lane <tgl@fedoraproject.org>2005-12-15 04:34:51 +0000
committerTom Lane <tgl@fedoraproject.org>2005-12-15 04:34:51 +0000
commitd644a0e2b0460a61bfdbb4e3a5e687ebe3360ae2 (patch)
treea8be2504d7d3d4243ea7a6661dbe6b6f6425a9bd
parenta15ec211c95d7f72e508867d9af6290da5995d14 (diff)
downloadpostgresql-setup-d644a0e2b0460a61bfdbb4e3a5e687ebe3360ae2.tar.gz
postgresql-setup-d644a0e2b0460a61bfdbb4e3a5e687ebe3360ae2.tar.xz
postgresql-setup-d644a0e2b0460a61bfdbb4e3a5e687ebe3360ae2.zip
oops, looks like we want uname -i not uname -mpostgresql-8_1_1-2
-rwxr-xr-xpostgresql.spec9
1 files changed, 6 insertions, 3 deletions
diff --git a/postgresql.spec b/postgresql.spec
index d245e11..0eef07c 100755
--- a/postgresql.spec
+++ b/postgresql.spec
@@ -82,7 +82,7 @@
Summary: PostgreSQL client programs and libraries.
Name: postgresql
Version: 8.1.1
-Release: 1
+Release: 2
License: BSD
Group: Applications/Databases
Url: http://www.postgresql.org/
@@ -468,9 +468,9 @@ make -C contrib/xml2 DESTDIR=$RPM_BUILD_ROOT install
%endif
# multilib header hack; note pg_config.h is installed in two places!
-mv $RPM_BUILD_ROOT/usr/include/pg_config.h $RPM_BUILD_ROOT/usr/include/pg_config_`uname -m`.h
+mv $RPM_BUILD_ROOT/usr/include/pg_config.h $RPM_BUILD_ROOT/usr/include/pg_config_`uname -i`.h
install -m 644 %{SOURCE5} $RPM_BUILD_ROOT/usr/include/
-mv $RPM_BUILD_ROOT/usr/include/pgsql/server/pg_config.h $RPM_BUILD_ROOT/usr/include/pgsql/server/pg_config_`uname -m`.h
+mv $RPM_BUILD_ROOT/usr/include/pgsql/server/pg_config.h $RPM_BUILD_ROOT/usr/include/pgsql/server/pg_config_`uname -i`.h
install -m 644 %{SOURCE5} $RPM_BUILD_ROOT/usr/include/pgsql/server/
install -d -m 755 $RPM_BUILD_ROOT%{_libdir}/pgsql/tutorial
@@ -816,6 +816,9 @@ rm -rf $RPM_BUILD_ROOT
%endif
%changelog
+* Wed Dec 14 2005 Tom Lane <tgl@redhat.com> 8.1.1-2
+- oops, looks like we want uname -i not uname -m
+
* Wed Dec 14 2005 Tom Lane <tgl@redhat.com> 8.1.1-1
- Update to PostgreSQL 8.1.1
- Make pg_config.h architecture-independent for multilib installs;