add sparc/sparc64 to multilib header support
This commit is contained in:
parent
8387bb8f87
commit
b1315b865a
@ -22,4 +22,8 @@
|
|||||||
#include "ecpg_config_s390x.h"
|
#include "ecpg_config_s390x.h"
|
||||||
#elif defined(__s390__)
|
#elif defined(__s390__)
|
||||||
#include "ecpg_config_s390.h"
|
#include "ecpg_config_s390.h"
|
||||||
|
#elif defined(__sparc__) && defined(__arch64__)
|
||||||
|
#include "ecpg_config_sparc64.h"
|
||||||
|
#elif defined(__sparc__)
|
||||||
|
#include "ecpg_config_sparc.h"
|
||||||
#endif
|
#endif
|
||||||
|
@ -22,4 +22,8 @@
|
|||||||
#include "pg_config_s390x.h"
|
#include "pg_config_s390x.h"
|
||||||
#elif defined(__s390__)
|
#elif defined(__s390__)
|
||||||
#include "pg_config_s390.h"
|
#include "pg_config_s390.h"
|
||||||
|
#elif defined(__sparc__) && defined(__arch64__)
|
||||||
|
#include "pg_config_sparc64.h"
|
||||||
|
#elif defined(__sparc__)
|
||||||
|
#include "pg_config_sparc.h"
|
||||||
#endif
|
#endif
|
||||||
|
@ -60,8 +60,9 @@ Summary: PostgreSQL client programs and libraries
|
|||||||
Name: postgresql
|
Name: postgresql
|
||||||
%define majorversion 8.4
|
%define majorversion 8.4
|
||||||
Version: 8.4.1
|
Version: 8.4.1
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
# PG considers their license to be simplified BSD, but it's more nearly MIT
|
# PostgreSQL calls their license simplified BSD, but the requirements are
|
||||||
|
# more similar to other MIT licenses.
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Applications/Databases
|
Group: Applications/Databases
|
||||||
Url: http://www.postgresql.org/
|
Url: http://www.postgresql.org/
|
||||||
@ -478,7 +479,7 @@ make -C contrib DESTDIR=$RPM_BUILD_ROOT install
|
|||||||
# multilib header hack; note pg_config.h is installed in two places!
|
# multilib header hack; note pg_config.h is installed in two places!
|
||||||
# we only apply this to known Red Hat multilib arches, per bug #177564
|
# we only apply this to known Red Hat multilib arches, per bug #177564
|
||||||
case `uname -i` in
|
case `uname -i` in
|
||||||
i386 | x86_64 | ppc | ppc64 | s390 | s390x)
|
i386 | x86_64 | ppc | ppc64 | s390 | s390x | sparc | sparc64 )
|
||||||
mv $RPM_BUILD_ROOT/usr/include/pg_config.h $RPM_BUILD_ROOT/usr/include/pg_config_`uname -i`.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 -i`.h
|
mv $RPM_BUILD_ROOT/usr/include/pgsql/server/pg_config.h $RPM_BUILD_ROOT/usr/include/pgsql/server/pg_config_`uname -i`.h
|
||||||
@ -854,6 +855,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Oct 15 2009 Tom Lane <tgl@redhat.com> 8.4.1-4
|
||||||
|
- add sparc/sparc64 to multilib header support
|
||||||
|
|
||||||
* Mon Sep 21 2009 Tom Lane <tgl@redhat.com> 8.4.1-3
|
* Mon Sep 21 2009 Tom Lane <tgl@redhat.com> 8.4.1-3
|
||||||
- Ensure pgstartup.log gets the right ownership/permissions during initdb
|
- Ensure pgstartup.log gets the right ownership/permissions during initdb
|
||||||
Resolves: #498959
|
Resolves: #498959
|
||||||
|
Loading…
Reference in New Issue
Block a user