oops, looks like we want uname -i not uname -m
This commit is contained in:
parent
a15ec211c9
commit
d644a0e2b0
@ -82,7 +82,7 @@
|
|||||||
Summary: PostgreSQL client programs and libraries.
|
Summary: PostgreSQL client programs and libraries.
|
||||||
Name: postgresql
|
Name: postgresql
|
||||||
Version: 8.1.1
|
Version: 8.1.1
|
||||||
Release: 1
|
Release: 2
|
||||||
License: BSD
|
License: BSD
|
||||||
Group: Applications/Databases
|
Group: Applications/Databases
|
||||||
Url: http://www.postgresql.org/
|
Url: http://www.postgresql.org/
|
||||||
@ -468,9 +468,9 @@ make -C contrib/xml2 DESTDIR=$RPM_BUILD_ROOT install
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
# multilib header hack; note pg_config.h is installed in two places!
|
# 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/
|
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 -m 644 %{SOURCE5} $RPM_BUILD_ROOT/usr/include/pgsql/server/
|
||||||
|
|
||||||
install -d -m 755 $RPM_BUILD_ROOT%{_libdir}/pgsql/tutorial
|
install -d -m 755 $RPM_BUILD_ROOT%{_libdir}/pgsql/tutorial
|
||||||
@ -816,6 +816,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%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
|
* Wed Dec 14 2005 Tom Lane <tgl@redhat.com> 8.1.1-1
|
||||||
- Update to PostgreSQL 8.1.1
|
- Update to PostgreSQL 8.1.1
|
||||||
- Make pg_config.h architecture-independent for multilib installs;
|
- Make pg_config.h architecture-independent for multilib installs;
|
||||||
|
Loading…
Reference in New Issue
Block a user