Hello community, here is the log from the commit of package perl-SQL-Abstract for openSUSE:Factory checked in at 2020-06-03 20:36:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-SQL-Abstract (Old) and /work/SRC/openSUSE:Factory/.perl-SQL-Abstract.new.3606 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-SQL-Abstract" Wed Jun 3 20:36:21 2020 rev:15 rq:811175 version:1.87 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-SQL-Abstract/perl-SQL-Abstract.changes 2018-07-28 12:39:27.780317462 +0200 +++ /work/SRC/openSUSE:Factory/.perl-SQL-Abstract.new.3606/perl-SQL-Abstract.changes 2020-06-03 20:36:52.525991252 +0200 @@ -1,0 +2,11 @@ +Tue Jun 2 15:36:46 UTC 2020 - Tina Müller <timueller+p...@suse.de> + +- updated to 1.87 + see /usr/share/doc/packages/perl-SQL-Abstract/Changes + + 1.87 - 2020-06-02 + - Add runtime dependency on Test::Deep and Test::Builder::Module for + SQL::Abstract::Test (RT#131623) + + +------------------------------------------------------------------- Old: ---- SQL-Abstract-1.86.tar.gz New: ---- SQL-Abstract-1.87.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-SQL-Abstract.spec ++++++ --- /var/tmp/diff_new_pack.ykg4cI/_old 2020-06-03 20:36:53.105993070 +0200 +++ /var/tmp/diff_new_pack.ykg4cI/_new 2020-06-03 20:36:53.109993083 +0200 @@ -1,7 +1,7 @@ # # spec file for package perl-SQL-Abstract # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,18 +12,18 @@ # 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/ # Name: perl-SQL-Abstract -Version: 1.86 +Version: 1.87 Release: 0 %define cpan_name SQL-Abstract Summary: Generate SQL from Perl data structures License: Artistic-1.0 OR GPL-1.0-or-later Group: Development/Libraries/Perl -Url: http://search.cpan.org/dist/SQL-Abstract/ +URL: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/I/IL/ILMARI/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml BuildArch: noarch @@ -34,6 +34,7 @@ BuildRequires: perl(MRO::Compat) >= 0.12 BuildRequires: perl(Moo) >= 2.000001 BuildRequires: perl(Sub::Quote) >= 2.000001 +BuildRequires: perl(Test::Builder::Module) >= 0.84 BuildRequires: perl(Test::Deep) >= 0.101 BuildRequires: perl(Test::Exception) >= 0.310000 BuildRequires: perl(Test::More) >= 0.88 @@ -43,6 +44,8 @@ Requires: perl(MRO::Compat) >= 0.12 Requires: perl(Moo) >= 2.000001 Requires: perl(Sub::Quote) >= 2.000001 +Requires: perl(Test::Builder::Module) >= 0.84 +Requires: perl(Test::Deep) >= 0.101 Requires: perl(Text::Balanced) >= 2.00 %{perl_requires} @@ -90,14 +93,14 @@ %prep %setup -q -n %{cpan_name}-%{version} -find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644 +find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644 %build -%{__perl} Makefile.PL INSTALLDIRS=vendor -%{__make} %{?_smp_mflags} +perl Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} %check -%{__make} test +make test %install %perl_make_install ++++++ SQL-Abstract-1.86.tar.gz -> SQL-Abstract-1.87.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/SQL-Abstract-1.86/Changes new/SQL-Abstract-1.87/Changes --- old/SQL-Abstract-1.86/Changes 2018-07-09 18:24:23.000000000 +0200 +++ new/SQL-Abstract-1.87/Changes 2020-06-02 12:33:58.000000000 +0200 @@ -1,5 +1,9 @@ Revision history for SQL::Abstract +1.87 - 2020-06-02 + - Add runtime dependency on Test::Deep and Test::Builder::Module for + SQL::Abstract::Test (RT#131623) + 1.86 - 2018-07-09 - Remove obsolete documentation about arrayrefref as the $source argument for ->select (removed in version 1.74) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/SQL-Abstract-1.86/LICENSE new/SQL-Abstract-1.87/LICENSE --- old/SQL-Abstract-1.86/LICENSE 2018-07-09 18:28:58.000000000 +0200 +++ new/SQL-Abstract-1.87/LICENSE 2020-06-02 12:36:30.000000000 +0200 @@ -7,7 +7,7 @@ --- The GNU General Public License, Version 1, February 1989 --- -This software is Copyright (c) 2018 by Nathan Wiger <n...@wiger.org>. +This software is Copyright (c) 2020 by Nathan Wiger <n...@wiger.org>. This is free software, licensed under: @@ -267,7 +267,7 @@ --- The Artistic License 1.0 --- -This software is Copyright (c) 2018 by Nathan Wiger <n...@wiger.org>. +This software is Copyright (c) 2020 by Nathan Wiger <n...@wiger.org>. This is free software, licensed under: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/SQL-Abstract-1.86/META.json new/SQL-Abstract-1.87/META.json --- old/SQL-Abstract-1.86/META.json 2018-07-09 18:28:58.000000000 +0200 +++ new/SQL-Abstract-1.87/META.json 2020-06-02 12:36:30.000000000 +0200 @@ -4,7 +4,7 @@ "Nathan Wiger <n...@wiger.org>" ], "dynamic_config" : 0, - "generated_by" : "ExtUtils::MakeMaker version 7.34, CPAN::Meta::Converter version 2.150010", + "generated_by" : "ExtUtils::MakeMaker version 7.36, CPAN::Meta::Converter version 2.150010", "license" : [ "perl_5" ], @@ -50,6 +50,8 @@ "Moo" : "2.000001", "Scalar::Util" : "0", "Sub::Quote" : "2.000001", + "Test::Builder::Module" : "0.84", + "Test::Deep" : "0.101", "Text::Balanced" : "2.00", "perl" : "5.006" } @@ -57,7 +59,6 @@ "test" : { "requires" : { "Storable" : "0", - "Test::Deep" : "0.101", "Test::Exception" : "0.31", "Test::More" : "0.88", "Test::Warn" : "0" @@ -80,6 +81,6 @@ }, "x_IRC" : "irc://irc.perl.org/#dbix-class" }, - "version" : "1.86", - "x_serialization_backend" : "JSON::PP version 2.97001" + "version" : "1.87", + "x_serialization_backend" : "JSON::PP version 4.02" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/SQL-Abstract-1.86/META.yml new/SQL-Abstract-1.87/META.yml --- old/SQL-Abstract-1.86/META.yml 2018-07-09 18:28:58.000000000 +0200 +++ new/SQL-Abstract-1.87/META.yml 2020-06-02 12:36:30.000000000 +0200 @@ -4,14 +4,13 @@ - 'Nathan Wiger <n...@wiger.org>' build_requires: Storable: '0' - Test::Deep: '0.101' Test::Exception: '0.31' Test::More: '0.88' Test::Warn: '0' configure_requires: ExtUtils::MakeMaker: '0' dynamic_config: 0 -generated_by: 'ExtUtils::MakeMaker version 7.34, CPAN::Meta::Converter version 2.150010' +generated_by: 'ExtUtils::MakeMaker version 7.36, CPAN::Meta::Converter version 2.150010' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -32,6 +31,8 @@ Moo: '2.000001' Scalar::Util: '0' Sub::Quote: '2.000001' + Test::Builder::Module: '0.84' + Test::Deep: '0.101' Text::Balanced: '2.00' perl: '5.006' resources: @@ -39,5 +40,5 @@ bugtracker: https://rt.cpan.org/Public/Dist/Display.html?Name=SQL-Abstract license: http://dev.perl.org/licenses/ repository: https://github.com/dbsrgits/sql-abstract.git -version: '1.86' +version: '1.87' x_serialization_backend: 'CPAN::Meta::YAML version 0.018' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/SQL-Abstract-1.86/Makefile.PL new/SQL-Abstract-1.87/Makefile.PL --- old/SQL-Abstract-1.86/Makefile.PL 2018-06-11 19:12:26.000000000 +0200 +++ new/SQL-Abstract-1.87/Makefile.PL 2020-05-16 23:43:44.000000000 +0200 @@ -17,11 +17,10 @@ }, test => { requires => { - "Test::More" => '0.88', - "Test::Exception" => '0.31', - "Test::Warn" => '0', - "Test::Deep" => '0.101', - "Storable" => '0', # for cloning in tests + 'Test::More' => '0.88', + 'Test::Exception' => '0.31', + 'Test::Warn' => '0', + 'Storable' => '0', # for cloning in tests }, }, runtime => { @@ -35,6 +34,9 @@ 'Hash::Merge' => '0.12', 'Text::Balanced' => '2.00', 'perl' => '5.006', + # Used by SQL::Abstract::Test + 'Test::Deep' => '0.101', + 'Test::Builder::Module' => '0.84', }, }, develop => { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/SQL-Abstract-1.86/lib/SQL/Abstract/Test.pm new/SQL-Abstract-1.87/lib/SQL/Abstract/Test.pm --- old/SQL-Abstract-1.86/lib/SQL/Abstract/Test.pm 2018-06-11 19:12:26.000000000 +0200 +++ new/SQL-Abstract-1.87/lib/SQL/Abstract/Test.pm 2020-06-02 12:28:03.000000000 +0200 @@ -2,7 +2,7 @@ use strict; use warnings; -use base qw(Test::Builder::Module Exporter); +use base qw(Test::Builder::Module); use Test::Builder; use Test::Deep (); use SQL::Abstract::Tree; @@ -20,7 +20,7 @@ our $order_by_asc_significant = 0; our $sql_differ; # keeps track of differing portion between SQLs -our $tb = __PACKAGE__->builder; +our $tb; # not documented, but someone might be overriding it anyway sub _unpack_arrayrefref { @@ -52,6 +52,7 @@ my $same_bind = eq_bind($bind_ref1, $bind_ref2); # call Test::Builder::ok + my $tb = $tb || __PACKAGE__->builder; my $ret = $tb->ok($same_sql && $same_bind, $msg); # add debugging info @@ -73,6 +74,7 @@ my $same_sql = eq_sql($sql1, $sql2); # call Test::Builder::ok + my $tb = $tb || __PACKAGE__->builder; my $ret = $tb->ok($same_sql, $msg); # add debugging info @@ -91,6 +93,7 @@ my $same_bind = eq_bind($bind_ref1, $bind_ref2); # call Test::Builder::ok + my $tb = $tb || __PACKAGE__->builder; my $ret = $tb->ok($same_bind, $msg); # add debugging info @@ -112,6 +115,7 @@ } sub diag_where{ + my $tb = $tb || __PACKAGE__->builder; $tb->diag("Search term:\n" . &dumper); } @@ -119,6 +123,7 @@ my $sql1 = shift || ''; my $sql2 = shift || ''; + my $tb = $tb || __PACKAGE__->builder; $tb->${\($tb->in_todo ? 'note' : 'diag')} ( "SQL expressions differ\n" ." got: $sql1\n" @@ -130,6 +135,7 @@ sub _bind_differ_diag { my ($bind_ref1, $bind_ref2) = @_; + my $tb = $tb || __PACKAGE__->builder; $tb->${\($tb->in_todo ? 'note' : 'diag')} ( "BIND values differ " . dumper({ got => $bind_ref1, want => $bind_ref2 }) ); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/SQL-Abstract-1.86/lib/SQL/Abstract.pm new/SQL-Abstract-1.87/lib/SQL/Abstract.pm --- old/SQL-Abstract-1.86/lib/SQL/Abstract.pm 2018-07-09 18:22:24.000000000 +0200 +++ new/SQL-Abstract-1.87/lib/SQL/Abstract.pm 2020-06-02 12:32:51.000000000 +0200 @@ -27,7 +27,7 @@ # GLOBALS #====================================================================== -our $VERSION = '1.86'; +our $VERSION = '1.87'; # This would confuse some packagers $VERSION = eval $VERSION if $VERSION =~ /_/; # numify for warning-free dev releases