Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package perl-Tie-Hash-DBD for openSUSE:Factory checked in at 2021-05-20 19:25:26 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Tie-Hash-DBD (Old) and /work/SRC/openSUSE:Factory/.perl-Tie-Hash-DBD.new.2988 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Tie-Hash-DBD" Thu May 20 19:25:26 2021 rev:16 rq:894569 version:0.23 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Tie-Hash-DBD/perl-Tie-Hash-DBD.changes 2021-01-04 19:10:04.487432018 +0100 +++ /work/SRC/openSUSE:Factory/.perl-Tie-Hash-DBD.new.2988/perl-Tie-Hash-DBD.changes 2021-05-20 19:25:55.397730136 +0200 @@ -1,0 +2,10 @@ +Wed May 19 03:10:22 UTC 2021 - Tina M??ller <timueller+p...@suse.de> + +- updated to 0.23 + see /usr/share/doc/packages/perl-Tie-Hash-DBD/Changes + + 0.23 - 18 May 2021, H.Merijn Brand + * It's 2021 + * Enable use of tables with extra fields + +------------------------------------------------------------------- Old: ---- Tie-Hash-DBD-0.22.tgz New: ---- Tie-Hash-DBD-0.23.tgz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Tie-Hash-DBD.spec ++++++ --- /var/tmp/diff_new_pack.0huoa0/_old 2021-05-20 19:25:55.889728119 +0200 +++ /var/tmp/diff_new_pack.0huoa0/_new 2021-05-20 19:25:55.893728102 +0200 @@ -1,7 +1,7 @@ # # spec file for package perl-Tie-Hash-DBD # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %define cpan_name Tie-Hash-DBD Name: perl-Tie-Hash-DBD -Version: 0.22 +Version: 0.23 Release: 0 Summary: Tie a plain hash to a database table License: Artistic-1.0 OR GPL-1.0-or-later @@ -29,14 +29,13 @@ BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(DBI) >= 1.613 -BuildRequires: perl(Test::More) >= 0.9 +BuildRequires: perl(Test::More) >= 0.90 Requires: perl(DBI) >= 1.613 Requires: perl(Test::More) >= 0.9 -Recommends: perl(DBD::CSV) >= 0.57 +Recommends: perl(DBD::CSV) >= 0.58 Recommends: perl(DBD::Pg) >= v3.14.2 Recommends: perl(DBD::SQLite) >= 1.66 Recommends: perl(DBI) >= 1.643 -Recommends: perl(Test::More) >= 1.302183 %{perl_requires} %description ++++++ Tie-Hash-DBD-0.22.tgz -> Tie-Hash-DBD-0.23.tgz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Tie-Hash-DBD-0.22/Changes new/Tie-Hash-DBD-0.23/Changes --- old/Tie-Hash-DBD-0.22/Changes 2020-12-21 16:34:10.000000000 +0100 +++ new/Tie-Hash-DBD-0.23/Changes 2021-05-18 10:39:22.000000000 +0200 @@ -1,3 +1,7 @@ +0.23 - 18 May 2021, H.Merijn Brand + * It's 2021 + * Enable use of tables with extra fields + 0.22 - 21 Dec 2020, H.Merijn Brand * Try to make persist tests use more unique table names * Fix META issue for bugtracker diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Tie-Hash-DBD-0.22/META.json new/Tie-Hash-DBD-0.23/META.json --- old/Tie-Hash-DBD-0.22/META.json 2020-12-23 11:04:58.000000000 +0100 +++ new/Tie-Hash-DBD-0.23/META.json 2021-05-18 17:28:30.000000000 +0200 @@ -1,72 +1,72 @@ { - "license" : [ - "perl_5" - ], - "release_status" : "stable", + "provides" : { + "Tie::Hash::DBD" : { + "file" : "lib/Tie/Hash/DBD.pm", + "version" : "0.23" + }, + "Tie::Array::DBD" : { + "version" : "0.23", + "file" : "lib/Tie/Array/DBD.pm" + } + }, "resources" : { "bugtracker" : { "web" : "https://github.com/Tux/Tie-Hash-DBD/issues" }, + "license" : [ + "http://dev.perl.org/licenses/" + ], "repository" : { "web" : "https://github.com/Tux/Tie-Hash-DBD", "type" : "git", "url" : "https://github.com/Tux/Tie-Hash-DBD" - }, - "license" : [ - "http://dev.perl.org/licenses/" - ] - }, - "version" : "0.22", - "generated_by" : "Author", - "provides" : { - "Tie::Hash::DBD" : { - "file" : "lib/Tie/Hash/DBD.pm", - "version" : "0.22" - }, - "Tie::Array::DBD" : { - "file" : "lib/Tie/Array/DBD.pm", - "version" : "0.22" } }, - "abstract" : "Tie plain hashes to DBI interface", + "version" : "0.23", "author" : [ "H.Merijn Brand <h.m.br...@xs4all.nl>" ], - "meta-spec" : { - "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec", - "version" : 2 - }, - "dynamic_config" : 1, - "name" : "Tie-Hash-DBD", + "license" : [ + "perl_5" + ], "prereqs" : { - "configure" : { + "test" : { "requires" : { - "ExtUtils::MakeMaker" : "0" + "Test::Harness" : "0", + "Test::More" : "0.90", + "Time::HiRes" : "0" + }, + "recommends" : { + "Test::More" : "1.302183" } }, "runtime" : { - "requires" : { - "Storable" : "0", - "DBI" : "1.613", - "perl" : "5.008003", - "Carp" : "0" - }, "recommends" : { - "DBD::CSV" : "0.57", + "DBD::SQLite" : "1.66", "DBI" : "1.643", "DBD::Pg" : "v3.14.2", - "DBD::SQLite" : "1.66" + "DBD::CSV" : "0.58" + }, + "requires" : { + "DBI" : "1.613", + "perl" : "5.008003", + "Carp" : "0", + "Storable" : "0" } }, - "test" : { + "configure" : { "requires" : { - "Test::Harness" : "0", - "Test::More" : "0.90", - "Time::HiRes" : "0" - }, - "recommends" : { - "Test::More" : "1.302183" + "ExtUtils::MakeMaker" : "0" } } - } + }, + "release_status" : "stable", + "abstract" : "Tie plain hashes to DBI interface", + "meta-spec" : { + "version" : 2, + "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec" + }, + "name" : "Tie-Hash-DBD", + "dynamic_config" : 1, + "generated_by" : "Author" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Tie-Hash-DBD-0.22/META.yml new/Tie-Hash-DBD-0.23/META.yml --- old/Tie-Hash-DBD-0.22/META.yml 2020-12-23 11:04:58.000000000 +0100 +++ new/Tie-Hash-DBD-0.23/META.yml 2021-05-18 17:28:30.000000000 +0200 @@ -14,12 +14,12 @@ provides: Tie::Array::DBD: file: lib/Tie/Array/DBD.pm - version: '0.22' + version: '0.23' Tie::Hash::DBD: file: lib/Tie/Hash/DBD.pm - version: '0.22' + version: '0.23' recommends: - DBD::CSV: '0.57' + DBD::CSV: '0.58' DBD::Pg: v3.14.2 DBD::SQLite: '1.66' DBI: '1.643' @@ -36,4 +36,4 @@ bugtracker: https://github.com/Tux/Tie-Hash-DBD/issues license: http://dev.perl.org/licenses/ repository: https://github.com/Tux/Tie-Hash-DBD -version: '0.22' +version: '0.23' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Tie-Hash-DBD-0.22/Makefile.PL new/Tie-Hash-DBD-0.23/Makefile.PL --- old/Tie-Hash-DBD-0.22/Makefile.PL 2020-04-09 10:52:58.000000000 +0200 +++ new/Tie-Hash-DBD-0.23/Makefile.PL 2021-01-01 12:55:07.000000000 +0100 @@ -1,6 +1,6 @@ #!/usr/bin/perl -# Copyright 2010-2020 H.Merijn Brand +# Copyright 2010-2021 H.Merijn Brand require 5.008003; use strict; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Tie-Hash-DBD-0.22/README new/Tie-Hash-DBD-0.23/README --- old/Tie-Hash-DBD-0.22/README 2020-04-09 10:43:29.000000000 +0200 +++ new/Tie-Hash-DBD-0.23/README 2021-01-01 12:55:09.000000000 +0100 @@ -50,7 +50,7 @@ =head1 COPYRIGHT AND LICENSE -Copyright (C) 2010-2020 H.Merijn Brand. All rights reserved. +Copyright (C) 2010-2021 H.Merijn Brand. All rights reserved. This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Tie-Hash-DBD-0.22/cpanfile new/Tie-Hash-DBD-0.23/cpanfile --- old/Tie-Hash-DBD-0.22/cpanfile 2020-12-23 11:04:58.000000000 +0100 +++ new/Tie-Hash-DBD-0.23/cpanfile 2021-05-18 17:28:30.000000000 +0200 @@ -2,7 +2,7 @@ requires "DBI" => "1.613"; requires "Storable"; -recommends "DBD::CSV" => "0.57"; +recommends "DBD::CSV" => "0.58"; recommends "DBD::Pg" => "3.14.2"; recommends "DBD::SQLite" => "1.66"; recommends "DBI" => "1.643"; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Tie-Hash-DBD-0.22/lib/Tie/Array/DBD.pm new/Tie-Hash-DBD-0.23/lib/Tie/Array/DBD.pm --- old/Tie-Hash-DBD-0.22/lib/Tie/Array/DBD.pm 2020-05-20 10:52:08.000000000 +0200 +++ new/Tie-Hash-DBD-0.23/lib/Tie/Array/DBD.pm 2021-05-18 10:33:07.000000000 +0200 @@ -1,6 +1,6 @@ package Tie::Array::DBD; -our $VERSION = "0.22"; +our $VERSION = "0.23"; use strict; use warnings; @@ -215,7 +215,7 @@ my $tbl = $h->{tbl}; - $h->{ins} = $dbh->prepare ("insert into $tbl values (?, ?)"); + $h->{ins} = $dbh->prepare ("insert into $tbl ($f_k, $f_v) values (?, ?)"); $h->{del} = $dbh->prepare ("delete from $tbl where $f_k = ?"); $h->{upd} = $dbh->prepare ("update $tbl set $f_v = ? where $f_k = ?"); $h->{sel} = $dbh->prepare ("select $f_v from $tbl where $f_k = ?"); @@ -780,7 +780,7 @@ =head1 COPYRIGHT AND LICENSE -Copyright (C) 2010-2020 H.Merijn Brand +Copyright (C) 2010-2021 H.Merijn Brand This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Tie-Hash-DBD-0.22/lib/Tie/Hash/DBD.pm new/Tie-Hash-DBD-0.23/lib/Tie/Hash/DBD.pm --- old/Tie-Hash-DBD-0.22/lib/Tie/Hash/DBD.pm 2020-05-20 10:52:08.000000000 +0200 +++ new/Tie-Hash-DBD-0.23/lib/Tie/Hash/DBD.pm 2021-05-18 10:33:18.000000000 +0200 @@ -1,6 +1,6 @@ package Tie::Hash::DBD; -our $VERSION = "0.22"; +our $VERSION = "0.23"; use strict; use warnings; @@ -228,7 +228,7 @@ my $tbl = $h->{tbl}; - $h->{ins} = $dbh->prepare ("insert into $tbl values (?, ?)"); + $h->{ins} = $dbh->prepare ("insert into $tbl ($f_k, $f_v) values (?, ?)"); $h->{del} = $dbh->prepare ("delete from $tbl where $f_k = ?"); $h->{upd} = $dbh->prepare ("update $tbl set $f_v = ? where $f_k = ?"); $h->{sel} = $dbh->prepare ("select $f_v from $tbl where $f_k = ?"); @@ -695,7 +695,7 @@ =head1 COPYRIGHT AND LICENSE -Copyright (C) 2010-2020 H.Merijn Brand +Copyright (C) 2010-2021 H.Merijn Brand This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Tie-Hash-DBD-0.22/t/persist.pl new/Tie-Hash-DBD-0.23/t/persist.pl --- old/Tie-Hash-DBD-0.22/t/persist.pl 2020-09-08 18:24:17.000000000 +0200 +++ new/Tie-Hash-DBD-0.23/t/persist.pl 2021-02-16 10:57:35.000000000 +0100 @@ -24,8 +24,7 @@ my %data = ( UND => undef, IV => 3, -# NV => 3.14159265358979001, - NV => 3.14159265358830452896654605865479, + NV => PI (), PV => "pi", # "\xcf\x80" binary is tested elsewhere ); my $data = _bindata (); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Tie-Hash-DBD-0.22/t/util.pl new/Tie-Hash-DBD-0.23/t/util.pl --- old/Tie-Hash-DBD-0.22/t/util.pl 2020-12-21 17:04:05.000000000 +0100 +++ new/Tie-Hash-DBD-0.23/t/util.pl 2021-02-16 11:00:02.000000000 +0100 @@ -179,14 +179,16 @@ ); } # supported_serializers +# Choose a value that works for plain, uselongdouble, and usequadmath +sub PI { 3.1415926535897931 } + sub deep { my ($DBD, $str) = (@_, ""); my %deep = ( UND => undef, IV => 1, -# NV => 3.14159265358979001, - NV => 3.14159265358830452896654605865479, + NV => PI (), PV => "string", PV8 => "ab\ncd\x{20ac}\t", PVM => $!,