rpms/postgresql/F-9 postgresql-8.3.1-sparc64-test.patch, NONE, 1.1 postgresql.spec, 1.92, 1.93

Dennis Gilmore (ausil) fedora-extras-commits at redhat.com
Fri May 23 14:30:24 UTC 2008


Author: ausil

Update of /cvs/pkgs/rpms/postgresql/F-9
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv24797

Modified Files:
	postgresql.spec 
Added Files:
	postgresql-8.3.1-sparc64-test.patch 
Log Message:
add patch for sparc64 test suite


postgresql-8.3.1-sparc64-test.patch:

--- NEW FILE postgresql-8.3.1-sparc64-test.patch ---
--- postgresql-8.3.1/src/test/regress/expected/errors.out.BAD       2007-11-10 09:36:44.000000000 -0500
+++ postgresql-8.3.1/src/test/regress/expected/errors.out        2008-05-23 09:18:27.000000000 -0400
@@ -304,9 +304,11 @@
 select 1/0;
 ERROR:  division by zero
 select 1::int8/0;
-ERROR:  division by zero
+ERROR:  floating-point exception
+DETAIL:  An invalid floating-point operation was signaled. This probably means an out-of-range result or an invalid operation, such as division by zero.
 select 1/0::int8;
-ERROR:  division by zero
+ERROR:  floating-point exception
+DETAIL:  An invalid floating-point operation was signaled. This probably means an out-of-range result or an invalid operation, such as division by zero.
 select 1::int2/0;
 ERROR:  division by zero
 select 1/0::int2;


Index: postgresql.spec
===================================================================
RCS file: /cvs/pkgs/rpms/postgresql/F-9/postgresql.spec,v
retrieving revision 1.92
retrieving revision 1.93
diff -u -r1.92 -r1.93
--- postgresql.spec	26 Mar 2008 03:48:22 -0000	1.92
+++ postgresql.spec	23 May 2008 14:29:19 -0000	1.93
@@ -82,7 +82,7 @@
 Summary: PostgreSQL client programs and libraries
 Name: postgresql
 Version: 8.3.1
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: BSD
 Group: Applications/Databases
 Url: http://www.postgresql.org/ 
@@ -108,6 +108,7 @@
 Patch5: pgtcl-no-rpath.patch
 Patch6: postgresql-perl-rpath.patch
 Patch8: postgresql-prefer-ncurses.patch
+Patch9: postgresql-8.3.1-sparc64-test.patch
 
 BuildRequires: perl(ExtUtils::MakeMaker) glibc-devel bison flex autoconf gawk
 BuildRequires: perl(ExtUtils::Embed), perl-devel
@@ -353,7 +354,11 @@
 # patch5 is applied later
 %patch6 -p1
 %patch8 -p1
-
+#sparc64 gives different output for some division by zero errors
+#filed upstream as bug #4190
+%ifarch sparc64
+%patch9 -p1
+%endif
 #call autoconf 2.53 or greater
 %aconfver
 
@@ -841,6 +846,10 @@
 %endif
 
 %changelog
+* Fri May 22 2008 Dennis Gilmore <dennis at ausil.us> 8.3.1-2
+- apply patch on sparc64 only to cover differences in output 
+- filed upstream as bug #4190
+
 * Tue Mar 25 2008 Tom Lane <tgl at redhat.com> 8.3.1-1
 - Update to PostgreSQL 8.3.1.
 




More information about the fedora-extras-commits mailing list