rpms/postgresql/devel ecpg_config.h, 1.1, 1.2 pg_config.h, 1.3, 1.4 postgresql.spec, 1.120, 1.121

Tom Lane tgl at fedoraproject.org
Fri Oct 16 03:47:53 UTC 2009


Author: tgl

Update of /cvs/pkgs/rpms/postgresql/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv4804

Modified Files:
	ecpg_config.h pg_config.h postgresql.spec 
Log Message:
add sparc/sparc64 to multilib header support


Index: ecpg_config.h
===================================================================
RCS file: /cvs/pkgs/rpms/postgresql/devel/ecpg_config.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- ecpg_config.h	4 Sep 2007 17:26:37 -0000	1.1
+++ ecpg_config.h	16 Oct 2009 03:47:51 -0000	1.2
@@ -22,4 +22,8 @@
 #include "ecpg_config_s390x.h"
 #elif defined(__s390__)
 #include "ecpg_config_s390.h"
+#elif defined(__sparc__) && defined(__arch64__)
+#include "ecpg_config_sparc64.h"
+#elif defined(__sparc__)
+#include "ecpg_config_sparc.h"
 #endif


Index: pg_config.h
===================================================================
RCS file: /cvs/pkgs/rpms/postgresql/devel/pg_config.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -r1.3 -r1.4
--- pg_config.h	13 Feb 2006 15:53:02 -0000	1.3
+++ pg_config.h	16 Oct 2009 03:47:52 -0000	1.4
@@ -22,4 +22,8 @@
 #include "pg_config_s390x.h"
 #elif defined(__s390__)
 #include "pg_config_s390.h"
+#elif defined(__sparc__) && defined(__arch64__)
+#include "pg_config_sparc64.h"
+#elif defined(__sparc__)
+#include "pg_config_sparc.h"
 #endif


Index: postgresql.spec
===================================================================
RCS file: /cvs/pkgs/rpms/postgresql/devel/postgresql.spec,v
retrieving revision 1.120
retrieving revision 1.121
diff -u -p -r1.120 -r1.121
--- postgresql.spec	22 Sep 2009 00:45:57 -0000	1.120
+++ postgresql.spec	16 Oct 2009 03:47:52 -0000	1.121
@@ -60,8 +60,9 @@ Summary: PostgreSQL client programs and 
 Name: postgresql
 %define majorversion 8.4
 Version: 8.4.1
-Release: 3%{?dist}
-# PG considers their license to be simplified BSD, but it's more nearly MIT
+Release: 4%{?dist}
+# PostgreSQL calls their license simplified BSD, but the requirements are
+# more similar to other MIT licenses.
 License: MIT
 Group: Applications/Databases
 Url: http://www.postgresql.org/ 
@@ -478,7 +479,7 @@ make -C contrib DESTDIR=$RPM_BUILD_ROOT 
 # 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
 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
     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
@@ -854,6 +855,9 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %changelog
+* Thu Oct 15 2009 Tom Lane <tgl at redhat.com> 8.4.1-4
+- add sparc/sparc64 to multilib header support
+
 * Mon Sep 21 2009 Tom Lane <tgl at redhat.com> 8.4.1-3
 - Ensure pgstartup.log gets the right ownership/permissions during initdb
 Resolves: #498959




More information about the scm-commits mailing list