Hello community,

here is the log from the commit of package perl-DBD-Pg for openSUSE:Factory 
checked in at 2019-02-27 21:14:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-DBD-Pg (Old)
 and      /work/SRC/openSUSE:Factory/.perl-DBD-Pg.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-DBD-Pg"

Wed Feb 27 21:14:13 2019 rev:42 rq:679440 version:3.7.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-DBD-Pg/perl-DBD-Pg.changes  2018-02-15 
13:22:09.299280436 +0100
+++ /work/SRC/openSUSE:Factory/.perl-DBD-Pg.new.28833/perl-DBD-Pg.changes       
2019-02-27 21:14:15.103160399 +0100
@@ -1,0 +2,6 @@
+Tue Feb 26 18:21:00 UTC 2019 - Stephan Kulow <co...@suse.com>
+
+- apply disable-attr.patch to disable broken test:
+  https://rt.cpan.org/Public/Bug/Display.html?id=128529
+
+-------------------------------------------------------------------

New:
----
  disable-attr.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perl-DBD-Pg.spec ++++++
--- /var/tmp/diff_new_pack.GUJYQQ/_old  2019-02-27 21:14:16.223160113 +0100
+++ /var/tmp/diff_new_pack.GUJYQQ/_new  2019-02-27 21:14:16.223160113 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-DBD-Pg
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -21,11 +21,12 @@
 Release:        0
 %define cpan_name DBD-Pg
 Summary:        PostgreSQL database driver for the DBI module
-License:        Artistic-1.0 or GPL-1.0+
+License:        Artistic-1.0 OR GPL-1.0-or-later
 Group:          Development/Libraries/Perl
-Url:            http://search.cpan.org/dist/DBD-Pg/
+Url:            https://metacpan.org/release/%{cpan_name}
 Source0:        
https://cpan.metacpan.org/authors/id/T/TU/TURNSTEP/%{cpan_name}-%{version}.tar.gz
 Source1:        cpanspec.yml
+Patch0:         disable-attr.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  perl
 BuildRequires:  perl-macros
@@ -39,7 +40,10 @@
 %{perl_requires}
 # MANUAL BEGIN
 BuildRequires:  openssl-devel
-BuildRequires:  postgresql-devel >= 7.4
+BuildRequires:  postgresql-devel >= 8.1
+%if %{suse_version} >= 1550
+BuildRequires:  postgresql-server-devel
+%endif
 # For the Testsuite
 BuildRequires:  postgresql-server
 # MANUAL END
@@ -50,13 +54,14 @@
 
 %prep
 %setup -q -n %{cpan_name}-%{version}
+%patch0 -p1
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
-%{__make} %{?_smp_mflags}
+perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
+make %{?_smp_mflags}
 
 %check
-%{__make} test
+make test
 
 %install
 %perl_make_install

++++++ cpanspec.yml ++++++
--- /var/tmp/diff_new_pack.GUJYQQ/_old  2019-02-27 21:14:16.251160106 +0100
+++ /var/tmp/diff_new_pack.GUJYQQ/_new  2019-02-27 21:14:16.255160106 +0100
@@ -9,9 +9,14 @@
 #  - source2
 preamble: |-
  BuildRequires:  openssl-devel
- BuildRequires:  postgresql-devel >= 7.4
+ BuildRequires:  postgresql-devel >= 8.1
+ %if %{suse_version} >= 1550
+ BuildRequires:  postgresql-server-devel
+ %endif
  # For the Testsuite
  BuildRequires:  postgresql-server
+patches:
+ disable-attr.patch: -p1
 #post_prep: |-
 # hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s,  *,,g'`
 # sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL 

++++++ disable-attr.patch ++++++
Index: DBD-Pg-3.7.4/t/02attribs.t
===================================================================
--- DBD-Pg-3.7.4.orig/t/02attribs.t
+++ DBD-Pg-3.7.4/t/02attribs.t
@@ -18,7 +18,7 @@ my ($helpconnect,$connerror,$dbh) = conn
 if (! $dbh) {
        plan skip_all => 'Connection to database failed, cannot continue 
testing';
 }
-plan tests => 272;
+plan tests => 271;
 
 isnt ($dbh, undef, 'Connect to database for handle attributes testing');
 
@@ -1212,7 +1212,6 @@ eval {
     $dbh->do('SELECT 1 FROM nonesuh');
 };
 my $errorstring = $dbh->errstr;
-like ( $errorstring, qr/Perhaps client_min_messages/, $t);
 $dbh->rollback();
 $dbh->do(q{SET client_min_message = 'NOTICE'});
 $dbh->{RaiseError} = 1;

Reply via email to