[packages/perl-DBD-Pg] Up to 3.21.2

arekm arekm at pld-linux.org
Thu Oct 29 08:57:57 CET 2026


commit b286ed2e1c07a4cf18adee0883b151d978df36f9
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Thu Oct 29 01:00:31 2026 +0100

    Up to 3.21.2

 perl-DBD-Pg.spec |  6 ++----
 test-plan.patch  | 61 --------------------------------------------------------
 2 files changed, 2 insertions(+), 65 deletions(-)
---
diff --git a/perl-DBD-Pg.spec b/perl-DBD-Pg.spec
index 5afeeed..013a849 100644
--- a/perl-DBD-Pg.spec
+++ b/perl-DBD-Pg.spec
@@ -23,14 +23,13 @@ Summary(sv.UTF-8):	Ett gränssnitt till PostgresSQL för Perl
 Summary(uk.UTF-8):	Perl-інтерфейс до PostgresSQL
 Summary(zh_CN.UTF-8):	Perl 的 PostgresSQL 界面。
 Name:		perl-DBD-Pg
-Version:	3.21.1
+Version:	3.21.2
 Release:	1
 # same as perl
 License:	GPL v1+ or Artistic
 Group:		Development/Languages/Perl
 Source0:	https://www.cpan.org/modules/by-module/DBD/TURNSTEP/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5:	ba410eaa5b717638027bcef46e62eb8d
-Patch0:		test-plan.patch
+# Source0-md5:	22325b7b26b65341afd544068d96c644
 URL:		https://metacpan.org/dist/DBD-Pg
 BuildRequires:	perl-ExtUtils-MakeMaker >= 6.58
 BuildRequires:	perl-DBI >= 1.614
@@ -105,7 +104,6 @@ Perl.
 
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
-%patch -P0 -p1
 
 %build
 export POSTGRES_LIB="%{_libdir}"
diff --git a/test-plan.patch b/test-plan.patch
deleted file mode 100644
index 50c7178..0000000
--- a/test-plan.patch
+++ /dev/null
@@ -1,61 +0,0 @@
-Upstream 3.21.1 moved "plan tests" above the connect check in these three files,
-so the "plan skip_all" taken when no test database exists dies with
-"You tried to plan twice". Order them the way 01connect.t/02attribs.t already do.
-
---- DBD-Pg-3.21.1/t/03dbmethod.t.orig
-+++ DBD-Pg-3.21.1/t/03dbmethod.t
-@@ -17,7 +17,6 @@
- use warnings;
- use lib 'blib/lib', 'blib/arch', 't';
- use Test::More;
--plan tests => 702;
- use Config;
- use DBI     ':sql_types';
- use DBD::Pg ':pg_types';
-@@ -32,6 +31,8 @@
-     plan skip_all => 'Connection to database failed, cannot continue testing';
- }
- 
-+plan tests => 702;
-+
- my $superuser = is_super();
- 
- isnt ($dbh, undef, 'Connect to database for database handle method testing');
---- DBD-Pg-3.21.1/t/10_pg_error_field.t.orig
-+++ DBD-Pg-3.21.1/t/10_pg_error_field.t
-@@ -7,7 +7,6 @@
- use warnings;
- use lib 'blib/lib', 'blib/arch', 't';
- use Test::More;
--plan tests => 5;
- require 'dbdpg_test_setup.pl';
- select(($|=1,select(STDERR),$|=1)[1]);
- 
-@@ -17,6 +16,8 @@
-     plan skip_all => 'Connection to database failed, cannot continue testing';
- }
- 
-+plan tests => 5;
-+
- my $t='Connect to database for pg_error_field testing';
- isnt ($dbh, undef, $t);
- 
---- DBD-Pg-3.21.1/t/30unicode.t.orig
-+++ DBD-Pg-3.21.1/t/30unicode.t
-@@ -13,7 +13,6 @@
- use Encode qw(encode_utf8);
- use Data::Dumper;
- use Test::More;
--plan tests => 2;
- use open qw/ :std :encoding(utf8) /;
- require 'dbdpg_test_setup.pl';
- select(($|=1,select(STDERR),$|=1)[1]);
-@@ -24,6 +23,8 @@
-     plan skip_all => 'Connection to database failed, cannot continue testing';
- }
- 
-+plan tests => 2;
-+
- isnt ($dbh, undef, 'Connect to database for unicode testing');
- 
- 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-DBD-Pg.git/commitdiff/b286ed2e1c07a4cf18adee0883b151d978df36f9



More information about the pld-cvs-commit mailing list