Hello community,

here is the log from the commit of package perl-DBD-CSV for openSUSE:Factory 
checked in at 2020-12-11 20:16:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-DBD-CSV (Old)
 and      /work/SRC/openSUSE:Factory/.perl-DBD-CSV.new.2328 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-DBD-CSV"

Fri Dec 11 20:16:41 2020 rev:37 rq:854822 version:0.56

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-DBD-CSV/perl-DBD-CSV.changes        
2020-11-11 20:48:29.847765604 +0100
+++ /work/SRC/openSUSE:Factory/.perl-DBD-CSV.new.2328/perl-DBD-CSV.changes      
2020-12-11 20:16:41.852659189 +0100
@@ -1,0 +2,17 @@
+Thu Dec 10 10:57:55 UTC 2020 - Tina Müller <tina.muel...@suse.com>
+
+- Remove post_prep typo fix (was fixed upstream)
+
+-------------------------------------------------------------------
+Sun Dec  6 03:06:07 UTC 2020 - Tina Müller <timueller+p...@suse.de>
+
+- updated to 0.56
+   see /usr/share/doc/packages/perl-DBD-CSV/ChangeLog
+
+  0.56 - 2020-12-05, H.Merijn Brand
+      * Fix Changes (add missing 0.54)
+      * Bugtrackter => github issues
+      * f_dir should exist (CVE fix in DBI-1.644 / DBD::File-0.45)
+      * TODO tests better skipped if failing
+
+-------------------------------------------------------------------

Old:
----
  DBD-CSV-0.55.tgz

New:
----
  DBD-CSV-0.56.tgz

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

Other differences:
------------------
++++++ perl-DBD-CSV.spec ++++++
--- /var/tmp/diff_new_pack.S1Wnyg/_old  2020-12-11 20:16:42.464659443 +0100
+++ /var/tmp/diff_new_pack.S1Wnyg/_new  2020-12-11 20:16:42.480659450 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           perl-DBD-CSV
-Version:        0.55
+Version:        0.56
 Release:        0
 %define cpan_name DBD-CSV
 Summary:        DBI driver for CSV files
@@ -42,8 +42,8 @@
 Requires:       perl(Text::CSV_XS) >= 1.01
 Recommends:     perl(DBD::File) >= 0.44
 Recommends:     perl(DBI) >= 1.643
-Recommends:     perl(SQL::Statement) >= 1.412
-Recommends:     perl(Test::More) >= 1.302175
+Recommends:     perl(SQL::Statement) >= 1.414
+Recommends:     perl(Test::More) >= 1.302183
 Recommends:     perl(Text::CSV_XS) >= 1.44
 %{perl_requires}
 
@@ -60,9 +60,6 @@
 %prep
 %setup -q -n %{cpan_name}-%{version}
 find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path 
"*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
-# MANUAL BEGIN
-sed -i s/example/examples/ t/11_dsnlist.t
-# MANUAL END
 
 %build
 perl Makefile.PL INSTALLDIRS=vendor

++++++ DBD-CSV-0.55.tgz -> DBD-CSV-0.56.tgz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/DBD-CSV-0.55/ChangeLog new/DBD-CSV-0.56/ChangeLog
--- old/DBD-CSV-0.55/ChangeLog  2020-07-27 14:48:39.000000000 +0200
+++ new/DBD-CSV-0.56/ChangeLog  2020-12-05 10:41:55.000000000 +0100
@@ -1,11 +1,19 @@
+0.56   - 2020-12-05, H.Merijn Brand
+    * Fix Changes (add missing 0.54)
+    * Bugtrackter => github issues
+    * f_dir should exist (CVE fix in DBI-1.644 / DBD::File-0.45)
+    * TODO tests better skipped if failing
+
 0.55   - 2020-07-27, H.Merijn Brand
-    * Free unref scalar test fixed in Text::CSV_XS 1.35
     * It's 2019
     * Provide cpanfile
     * Doc enhancements
     * It's 2020
     * Make csv_ & f_ aliasses more consistently available (issue #7)
 
+0.54   - 2018-10-29, H.Merijn Brand
+    * Free unref scalar test fixed in Text::CSV_XS 1.35
+
 0.53   - 2018-05-20, H.Merijn Brand
     * No folder scanning during automated tests
     * Fix col_names set to empty [] incorrectly skipping first row
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/DBD-CSV-0.55/META.json new/DBD-CSV-0.56/META.json
--- old/DBD-CSV-0.55/META.json  2020-07-27 15:15:31.000000000 +0200
+++ new/DBD-CSV-0.56/META.json  2020-12-05 10:46:17.000000000 +0100
@@ -1,31 +1,17 @@
 {
-   "x_installdirs" : "site",
-   "author" : [
-      "Jochen Wiedmann",
-      "Jeff Zucker",
-      "H.Merijn Brand <h.m.br...@xs4all.nl>",
-      "Jens Rehsack <rehs...@cpan.org>"
-      ],
-   "generated_by" : "Author",
-   "provides" : {
-      "DBD::CSV" : {
-         "version" : "0.55",
-         "file" : "lib/DBD/CSV.pm"
-         }
-      },
-   "abstract" : "DBI driver for CSV files",
    "dynamic_config" : 1,
-   "release_status" : "stable",
-   "version" : "0.55",
-   "meta-spec" : {
-      "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec";,
-      "version" : 2
-      },
+   "generated_by" : "Author",
    "prereqs" : {
-      "configure" : {
+      "test" : {
          "requires" : {
-            "DBI" : "1.628",
-            "ExtUtils::MakeMaker" : "0"
+            "Cwd" : "0",
+            "Test::Harness" : "0",
+            "Test::More" : "0.90",
+            "charnames" : "0",
+            "Encode" : "0"
+            },
+         "recommends" : {
+            "Test::More" : "1.302183"
             }
          },
       "build" : {
@@ -33,46 +19,60 @@
             "Config" : "0"
             }
          },
-      "test" : {
+      "configure" : {
          "requires" : {
-            "Test::More" : "0.90",
-            "Cwd" : "0",
-            "Test::Harness" : "0",
-            "charnames" : "0",
-            "Encode" : "0"
-            },
-         "recommends" : {
-            "Test::More" : "1.302175"
+            "ExtUtils::MakeMaker" : "0",
+            "DBI" : "1.628"
             }
          },
       "runtime" : {
+         "recommends" : {
+            "Text::CSV_XS" : "1.44",
+            "DBD::File" : "0.44",
+            "SQL::Statement" : "1.414",
+            "DBI" : "1.643"
+            },
          "requires" : {
-            "perl" : "5.008001",
             "SQL::Statement" : "1.405",
+            "perl" : "5.008001",
             "DBD::File" : "0.42",
-            "Text::CSV_XS" : "1.01",
-            "DBI" : "1.628"
-            },
-         "recommends" : {
-            "DBD::File" : "0.44",
-            "SQL::Statement" : "1.412",
-            "DBI" : "1.643",
-            "Text::CSV_XS" : "1.44"
+            "DBI" : "1.628",
+            "Text::CSV_XS" : "1.01"
             }
          }
       },
+   "x_installdirs" : "site",
    "name" : "DBD-CSV",
-   "license" : [
-      "perl_5"
+   "release_status" : "stable",
+   "meta-spec" : {
+      "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec";,
+      "version" : 2
+      },
+   "author" : [
+      "Jochen Wiedmann",
+      "Jeff Zucker",
+      "H.Merijn Brand <h.m.br...@xs4all.nl>",
+      "Jens Rehsack <rehs...@cpan.org>"
       ],
    "resources" : {
-      "repository" : {
-         "web" : "https://github.com/perl5-dbi/DBD-CSV.git";,
-         "url" : "https://github.com/perl5-dbi/DBD-CSV.git";,
-         "type" : "git"
-         },
       "license" : [
          "http://dev.perl.org/licenses/";
-         ]
+         ],
+      "repository" : {
+         "web" : "https://github.com/perl5-dbi/DBD-CSV";,
+         "type" : "git",
+         "url" : "https://github.com/perl5-dbi/DBD-CSV";
+         }
+      },
+   "version" : "0.56",
+   "license" : [
+      "perl_5"
+      ],
+   "abstract" : "DBI driver for CSV files",
+   "provides" : {
+      "DBD::CSV" : {
+         "file" : "lib/DBD/CSV.pm",
+         "version" : "0.56"
+         }
       }
    }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/DBD-CSV-0.55/META.yml new/DBD-CSV-0.56/META.yml
--- old/DBD-CSV-0.55/META.yml   2020-07-27 15:15:31.000000000 +0200
+++ new/DBD-CSV-0.56/META.yml   2020-12-05 10:46:17.000000000 +0100
@@ -20,12 +20,12 @@
 provides: 
   DBD::CSV: 
     file: lib/DBD/CSV.pm
-    version: '0.55'
+    version: '0.56'
 recommends: 
   DBD::File: '0.44'
   DBI: '1.643'
-  SQL::Statement: '1.412'
-  Test::More: '1.302175'
+  SQL::Statement: '1.414'
+  Test::More: '1.302183'
   Text::CSV_XS: '1.44'
 requires: 
   Cwd: 0
@@ -40,6 +40,6 @@
   perl: '5.008001'
 resources: 
   license: http://dev.perl.org/licenses/
-  repository: https://github.com/perl5-dbi/DBD-CSV.git
-version: '0.55'
+  repository: https://github.com/perl5-dbi/DBD-CSV
+version: '0.56'
 x_installdirs: site
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/DBD-CSV-0.55/cpanfile new/DBD-CSV-0.56/cpanfile
--- old/DBD-CSV-0.55/cpanfile   2020-07-27 15:15:31.000000000 +0200
+++ new/DBD-CSV-0.56/cpanfile   2020-12-05 10:46:17.000000000 +0100
@@ -5,7 +5,7 @@
 
 recommends "DBD::File"                => "0.44";
 recommends "DBI"                      => "1.643";
-recommends "SQL::Statement"           => "1.412";
+recommends "SQL::Statement"           => "1.414";
 recommends "Text::CSV_XS"             => "1.44";
 
 on "configure" => sub {
@@ -24,5 +24,5 @@
     requires   "Test::More"               => "0.90";
     requires   "charnames";
 
-    recommends "Test::More"               => "1.302175";
+    recommends "Test::More"               => "1.302183";
     };
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/DBD-CSV-0.55/lib/Bundle/DBD/CSV.pm 
new/DBD-CSV-0.56/lib/Bundle/DBD/CSV.pm
--- old/DBD-CSV-0.55/lib/Bundle/DBD/CSV.pm      2020-07-27 14:59:17.000000000 
+0200
+++ new/DBD-CSV-0.56/lib/Bundle/DBD/CSV.pm      2020-10-24 12:46:41.000000000 
+0200
@@ -25,11 +25,11 @@
 
 Text::CSV_XS 1.44
 
-SQL::Statement 1.412
+SQL::Statement 1.414
 
 DBD::File 0.44
 
-DBD::CSV 0.55
+DBD::CSV 0.56
 
 =head1 DESCRIPTION
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/DBD-CSV-0.55/lib/DBD/CSV.pm 
new/DBD-CSV-0.56/lib/DBD/CSV.pm
--- old/DBD-CSV-0.55/lib/DBD/CSV.pm     2020-07-27 13:41:51.000000000 +0200
+++ new/DBD-CSV-0.56/lib/DBD/CSV.pm     2020-07-27 15:16:52.000000000 +0200
@@ -31,7 +31,7 @@
 
 @ISA =   qw( DBD::File );
 
-$VERSION     = "0.55";
+$VERSION     = "0.56";
 $ATTRIBUTION = "DBD::CSV $DBD::CSV::VERSION by H.Merijn Brand";
 
 $err      = 0;         # holds error code   for DBI::err
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/DBD-CSV-0.55/t/11_dsnlist.t 
new/DBD-CSV-0.56/t/11_dsnlist.t
--- old/DBD-CSV-0.55/t/11_dsnlist.t     2018-03-24 11:19:42.000000000 +0100
+++ new/DBD-CSV-0.56/t/11_dsnlist.t     2020-10-28 15:52:40.000000000 +0100
@@ -24,9 +24,19 @@
 ok ($dbh->disconnect,                          "disconnect");
 
 # Try different DSN's
-foreach my $d (qw( . example lib t )) {
+foreach my $d (qw( . examples lib t )) {
     ok (my $dns = Connect ("dbi:CSV:f_dir=$d"),        "use $d as f_dir");
     ok ($dbh->disconnect,                      "disconnect");
     }
 
+if ($DBD::File::VERSION ge "0.45") {
+    my @err;
+    is (eval {
+       local $SIG{__WARN__} = sub { push @err => @_ };
+       local $SIG{__DIE__}  = sub { push @err => @_ };
+       Connect ("dbi:CSV:f_dir=d/non/exist/here");
+       }, undef, "f_dir = nonexting dir");
+    like ("@err", qr{d/non/exist/here}, "Error caught");
+    }
+
 done_testing ();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/DBD-CSV-0.55/t/61_meta.t new/DBD-CSV-0.56/t/61_meta.t
--- old/DBD-CSV-0.55/t/61_meta.t        2020-07-27 14:47:45.000000000 +0200
+++ new/DBD-CSV-0.56/t/61_meta.t        2020-12-05 10:39:45.000000000 +0100
@@ -25,32 +25,36 @@
 
     if ($DBD::File::VERSION gt "0.44") {
        note ("ScalarIO - no col_names");
-       my $dbh = Connect ();
+       my $dbh = Connect ({ RaiseError => 0, PrintError => 0 });
+
        open my $data, "<", \$cnt;
        $dbh->{csv_tables}->{data} = {
            f_file    => $data,
            skip_rows => 4,
            };
-       my $sth = $dbh->prepare ("SELECT * FROM data");
-       $sth->execute ();
-       my $rows = $sth->fetchall_arrayref ();
-       is_deeply ($rows, $expect, "all rows found - mem-io w/o col_names");
+
+       if (my $sth = $dbh->prepare ("SELECT * FROM data")) {
+           $sth->execute ();
+           my $rows = $sth->fetchall_arrayref ();
+           is_deeply ($rows, $expect, "all rows found - mem-io w/o col_names");
+           }
        }
 
     if ($DBD::File::VERSION gt "0.44") {
        note ("ScalarIO - with col_names");
-       my $dbh = Connect ();
-       open my $data, "<", \$cnt;
+       my $dbh = Connect ({ RaiseError => 0, PrintError => 0 });
 
+       open my $data, "<", \$cnt;
        $dbh->{csv_tables}->{data} = {
            f_file    => $data,
            skip_rows => 4,
            col_names => [qw(id name color)],
            };
-       my $sth = $dbh->prepare ("SELECT * FROM data");
-       $sth->execute ();
-       my $rows = $sth->fetchall_arrayref ();
-       is_deeply ($rows, $expect, "all rows found - mem-io w col_names");
+       if (my $sth = $dbh->prepare ("SELECT * FROM data")) {
+           $sth->execute ();
+           my $rows = $sth->fetchall_arrayref ();
+           is_deeply ($rows, $expect, "all rows found - mem-io w col_names");
+           }
        }
     }
 

++++++ cpanspec.yml ++++++
--- /var/tmp/diff_new_pack.S1Wnyg/_old  2020-12-11 20:16:42.604659501 +0100
+++ /var/tmp/diff_new_pack.S1Wnyg/_new  2020-12-11 20:16:42.604659501 +0100
@@ -9,8 +9,8 @@
 #  bar.patch:
 #preamble: |-
 # BuildRequires:  gcc-c++
-post_prep: |-
-  sed -i s/example/examples/ t/11_dsnlist.t
+#post_prep: |-
+#  sed -i s/example/examples/ t/11_dsnlist.t
 #post_install: |-
 # sed on %{name}.files
 #license: SUSE-NonFree
_______________________________________________
openSUSE Commits mailing list -- commit@lists.opensuse.org
To unsubscribe, email commit-le...@lists.opensuse.org
List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette
List Archives: 
https://lists.opensuse.org/archives/list/commit@lists.opensuse.org

Reply via email to