[perl-DBD-Pg/f19] Adapt to changes in Postgres 9.3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 4c8ccb01e24d0b2a368c017dfe412862eeb849fd
Author: Petr Písař <ppisar@xxxxxxxxxx>
Date:   Wed Jan 29 15:24:13 2014 +0100

    Adapt to changes in Postgres 9.3

 ...for-the-PrintWarn-test-as-Postgres-got-le.patch |   27 ++++++++++++++++++++
 perl-DBD-Pg.spec                                   |    9 ++++++-
 2 files changed, 35 insertions(+), 1 deletions(-)
---
diff --git a/DBD-Pg-2.19.3-Use-DEBUG1-for-the-PrintWarn-test-as-Postgres-got-le.patch b/DBD-Pg-2.19.3-Use-DEBUG1-for-the-PrintWarn-test-as-Postgres-got-le.patch
new file mode 100644
index 0000000..b08730b
--- /dev/null
+++ b/DBD-Pg-2.19.3-Use-DEBUG1-for-the-PrintWarn-test-as-Postgres-got-le.patch
@@ -0,0 +1,27 @@
+From accf9a11bab7de2d11a36bdaa01e2e438dd33104 Mon Sep 17 00:00:00 2001
+From: Erik Rijkers <er@xxxxxxxxx>
+Date: Fri, 17 May 2013 22:09:41 -0400
+Subject: [PATCH] Use DEBUG1 for the PrintWarn test, as Postgres got less
+ chatty in 9.3
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Petr Pisar: Removed Changes
+
+diff --git a/t/02attribs.t b/t/02attribs.t
+index e98add9..197d962 100644
+--- a/t/02attribs.t
++++ b/t/02attribs.t
+@@ -251,7 +251,7 @@ is ($value, 1, $t);
+ 
+ local $SIG{__WARN__} = sub { $warning = shift; };
+ 
+-$dbh->do(q{SET client_min_messages = 'NOTICE'});
++$dbh->do(q{SET client_min_messages = 'DEBUG1'});
+ $t='DB handle attribute "PrintWarn" works when on';
+ $warning = q{};
+ eval {
+-- 
+1.8.5.3
+
diff --git a/perl-DBD-Pg.spec b/perl-DBD-Pg.spec
index 00a25ac..9e71885 100644
--- a/perl-DBD-Pg.spec
+++ b/perl-DBD-Pg.spec
@@ -1,10 +1,13 @@
 Name:           perl-DBD-Pg
 Summary:        A PostgreSQL interface for perl
 Version:        2.19.3
-Release:        3%{?dist}
+Release:        4%{?dist}
 License:        GPLv2+ or Artistic
 Group:          Development/Libraries
 Source0:        http://search.cpan.org/CPAN/authors/id/T/TU/TURNSTEP/DBD-Pg-%{version}.tar.gz 
+# Adapt to changes in Postgres 9.3, in upstream after 2.19.3, bug #1058723,
+# CPAN RT#88865
+Patch0:         DBD-Pg-2.19.3-Use-DEBUG1-for-the-PrintWarn-test-as-Postgres-got-le.patch
 URL:            http://search.cpan.org/dist/DBD-Pg/
 
 BuildRequires:  perl(Carp)
@@ -54,6 +57,7 @@ to PostgreSQL databases.
 
 %prep
 %setup -q -n DBD-Pg-%{version}
+%patch0 -p1
 # Move testme.tmp.pl into tests sub-package
 mv testme.tmp.pl t/
 sed -i -e '/^testme.tmp.pl$/ s/^/t\//' MANIFEST
@@ -87,6 +91,9 @@ make test
 
 
 %changelog
+* Wed Jan 29 2014 Petr Pisar <ppisar@xxxxxxxxxx> - 2.19.3-4
+- Adapt to changes in Postgres 9.3 (bug #1058723)
+
 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 2.19.3-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel





[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux