Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package perl-DateTime for openSUSE:Factory 
checked in at 2022-03-09 18:47:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-DateTime (Old)
 and      /work/SRC/openSUSE:Factory/.perl-DateTime.new.2349 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-DateTime"

Wed Mar  9 18:47:06 2022 rev:54 rq:960195 version:1.57

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-DateTime/perl-DateTime.changes      
2022-03-05 14:44:30.491717440 +0100
+++ /work/SRC/openSUSE:Factory/.perl-DateTime.new.2349/perl-DateTime.changes    
2022-03-11 11:49:26.718850242 +0100
@@ -1,0 +2,15 @@
+Fri Mar  4 03:06:10 UTC 2022 - Tina M??ller <timueller+p...@suse.de>
+
+- updated to 1.57
+   see /usr/share/doc/packages/perl-DateTime/Changes
+
+  1.57   2022-03-03
+
+  - The last release would die if Sub::Util was not available, but this should
+    just be an optional requirement. Fixed by Paul Howarth. GH #131.
+
+  - This is the second time I've introduced this bug, so now there's a test to
+    make sure that DateTime can be loaded if Sub::Util is not
+    installed. Hopefully this will prevent a third occurrence of this bug.
+
+-------------------------------------------------------------------

Old:
----
  DateTime-1.56.tar.gz

New:
----
  DateTime-1.57.tar.gz

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

Other differences:
------------------
++++++ perl-DateTime.spec ++++++
--- /var/tmp/diff_new_pack.vWgUP9/_old  2022-03-11 11:49:27.222850834 +0100
+++ /var/tmp/diff_new_pack.vWgUP9/_new  2022-03-11 11:49:27.226850839 +0100
@@ -18,7 +18,7 @@
 
 %define cpan_name DateTime
 Name:           perl-DateTime
-Version:        1.56
+Version:        1.57
 Release:        0
 License:        Artistic-2.0
 Summary:        Date and time object for Perl
@@ -43,6 +43,7 @@
 BuildRequires:  perl(Test::Fatal)
 BuildRequires:  perl(Test::More) >= 0.96
 BuildRequires:  perl(Test::Warnings) >= 0.005
+BuildRequires:  perl(Test::Without::Module)
 BuildRequires:  perl(Try::Tiny)
 BuildRequires:  perl(namespace::autoclean) >= 0.19
 BuildRequires:  perl(parent)

++++++ DateTime-1.56.tar.gz -> DateTime-1.57.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/DateTime-1.56/Changes new/DateTime-1.57/Changes
--- old/DateTime-1.56/Changes   2022-03-02 23:23:27.000000000 +0100
+++ new/DateTime-1.57/Changes   2022-03-03 15:47:45.000000000 +0100
@@ -1,3 +1,13 @@
+1.57   2022-03-03
+
+- The last release would die if Sub::Util was not available, but this should
+  just be an optional requirement. Fixed by Paul Howarth. GH #131.
+
+- This is the second time I've introduced this bug, so now there's a test to
+  make sure that DateTime can be loaded if Sub::Util is not
+  installed. Hopefully this will prevent a third occurrence of this bug.
+
+
 1.56   2022-03-02
 
 - The DateTime->from_epoch constructor now accepts a single, non-hashref
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/DateTime-1.56/MANIFEST new/DateTime-1.57/MANIFEST
--- old/DateTime-1.56/MANIFEST  2022-03-02 23:23:27.000000000 +0100
+++ new/DateTime-1.57/MANIFEST  2022-03-03 15:47:45.000000000 +0100
@@ -84,6 +84,7 @@
 t/46warnings.t
 t/47default-time-zone.t
 t/48rt-115983.t
+t/49-without-sub-util.t
 t/zzz-check-breaks.t
 xt/author/clean-namespaces.t
 xt/author/eol.t
@@ -139,6 +140,7 @@
 xt/author/pp-46warnings.t
 xt/author/pp-47default-time-zone.t
 xt/author/pp-48rt-115983.t
+xt/author/pp-49-without-sub-util.t
 xt/author/precious.t
 xt/author/test-version.t
 xt/extra/pp-is-loaded.t
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/DateTime-1.56/META.json new/DateTime-1.57/META.json
--- old/DateTime-1.56/META.json 2022-03-02 23:23:27.000000000 +0100
+++ new/DateTime-1.57/META.json 2022-03-03 15:47:45.000000000 +0100
@@ -53,6 +53,7 @@
             "Test::Spelling" : "0.12",
             "Test::Version" : "2.05",
             "Test::Warnings" : "0.005",
+            "Test::Without::Module" : "0",
             "autodie" : "0",
             "utf8" : "0"
          }
@@ -99,6 +100,7 @@
             "Test::Fatal" : "0",
             "Test::More" : "0.96",
             "Test::Warnings" : "0.005",
+            "Test::Without::Module" : "0",
             "utf8" : "0"
          }
       }
@@ -106,43 +108,43 @@
    "provides" : {
       "DateTime" : {
          "file" : "lib/DateTime.pm",
-         "version" : "1.56"
+         "version" : "1.57"
       },
       "DateTime::Duration" : {
          "file" : "lib/DateTime/Duration.pm",
-         "version" : "1.56"
+         "version" : "1.57"
       },
       "DateTime::Helpers" : {
          "file" : "lib/DateTime/Helpers.pm",
-         "version" : "1.56"
+         "version" : "1.57"
       },
       "DateTime::Infinite" : {
          "file" : "lib/DateTime/Infinite.pm",
-         "version" : "1.56"
+         "version" : "1.57"
       },
       "DateTime::Infinite::Future" : {
          "file" : "lib/DateTime/Infinite.pm",
-         "version" : "1.56"
+         "version" : "1.57"
       },
       "DateTime::Infinite::Past" : {
          "file" : "lib/DateTime/Infinite.pm",
-         "version" : "1.56"
+         "version" : "1.57"
       },
       "DateTime::LeapSecond" : {
          "file" : "lib/DateTime/LeapSecond.pm",
-         "version" : "1.56"
+         "version" : "1.57"
       },
       "DateTime::PP" : {
          "file" : "lib/DateTime/PP.pm",
-         "version" : "1.56"
+         "version" : "1.57"
       },
       "DateTime::PPExtra" : {
          "file" : "lib/DateTime/PPExtra.pm",
-         "version" : "1.56"
+         "version" : "1.57"
       },
       "DateTime::Types" : {
          "file" : "lib/DateTime/Types.pm",
-         "version" : "1.56"
+         "version" : "1.57"
       }
    },
    "release_status" : "stable",
@@ -158,7 +160,7 @@
       },
       "x_MailingList" : "datet...@perl.org"
    },
-   "version" : "1.56",
+   "version" : "1.57",
    "x_Dist_Zilla" : {
       "perl" : {
          "version" : "5.032001"
@@ -1036,7 +1038,7 @@
                   "branch" : null,
                   "changelog" : "Changes",
                   "signed" : 0,
-                  "tag" : "v1.56",
+                  "tag" : "v1.57",
                   "tag_format" : "v%V",
                   "tag_message" : "v%V"
                },
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/DateTime-1.56/META.yml new/DateTime-1.57/META.yml
--- old/DateTime-1.56/META.yml  2022-03-02 23:23:27.000000000 +0100
+++ new/DateTime-1.57/META.yml  2022-03-03 15:47:45.000000000 +0100
@@ -11,6 +11,7 @@
   Test::Fatal: '0'
   Test::More: '0.96'
   Test::Warnings: '0.005'
+  Test::Without::Module: '0'
   utf8: '0'
 configure_requires:
   Dist::CheckConflicts: '0.02'
@@ -25,34 +26,34 @@
 provides:
   DateTime:
     file: lib/DateTime.pm
-    version: '1.56'
+    version: '1.57'
   DateTime::Duration:
     file: lib/DateTime/Duration.pm
-    version: '1.56'
+    version: '1.57'
   DateTime::Helpers:
     file: lib/DateTime/Helpers.pm
-    version: '1.56'
+    version: '1.57'
   DateTime::Infinite:
     file: lib/DateTime/Infinite.pm
-    version: '1.56'
+    version: '1.57'
   DateTime::Infinite::Future:
     file: lib/DateTime/Infinite.pm
-    version: '1.56'
+    version: '1.57'
   DateTime::Infinite::Past:
     file: lib/DateTime/Infinite.pm
-    version: '1.56'
+    version: '1.57'
   DateTime::LeapSecond:
     file: lib/DateTime/LeapSecond.pm
-    version: '1.56'
+    version: '1.57'
   DateTime::PP:
     file: lib/DateTime/PP.pm
-    version: '1.56'
+    version: '1.57'
   DateTime::PPExtra:
     file: lib/DateTime/PPExtra.pm
-    version: '1.56'
+    version: '1.57'
   DateTime::Types:
     file: lib/DateTime/Types.pm
-    version: '1.56'
+    version: '1.57'
 requires:
   Carp: '0'
   DateTime::Locale: '1.06'
@@ -84,7 +85,7 @@
   bugtracker: https://github.com/houseabsolute/DateTime.pm/issues
   homepage: https://metacpan.org/release/DateTime
   repository: git://github.com/houseabsolute/DateTime.pm.git
-version: '1.56'
+version: '1.57'
 x_Dist_Zilla:
   perl:
     version: '5.032001'
@@ -787,7 +788,7 @@
           branch: ~
           changelog: Changes
           signed: 0
-          tag: v1.56
+          tag: v1.57
           tag_format: v%V
           tag_message: v%V
         Dist::Zilla::Role::Git::Repo:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/DateTime-1.56/Makefile.PL 
new/DateTime-1.57/Makefile.PL
--- old/DateTime-1.56/Makefile.PL       2022-03-02 23:23:27.000000000 +0100
+++ new/DateTime-1.57/Makefile.PL       2022-03-03 15:47:45.000000000 +0100
@@ -56,9 +56,10 @@
     "Test::Fatal" => 0,
     "Test::More" => "0.96",
     "Test::Warnings" => "0.005",
+    "Test::Without::Module" => 0,
     "utf8" => 0
   },
-  "VERSION" => "1.56",
+  "VERSION" => "1.57",
   "test" => {
     "TESTS" => "t/*.t"
   }
@@ -90,6 +91,7 @@
   "Test::Fatal" => 0,
   "Test::More" => "0.96",
   "Test::Warnings" => "0.005",
+  "Test::Without::Module" => 0,
   "Try::Tiny" => 0,
   "XSLoader" => 0,
   "base" => 0,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/DateTime-1.56/README.md new/DateTime-1.57/README.md
--- old/DateTime-1.56/README.md 2022-03-02 23:23:27.000000000 +0100
+++ new/DateTime-1.57/README.md 2022-03-03 15:47:45.000000000 +0100
@@ -4,7 +4,7 @@
 
 # VERSION
 
-version 1.56
+version 1.57
 
 # SYNOPSIS
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/DateTime-1.56/cpanfile new/DateTime-1.57/cpanfile
--- old/DateTime-1.56/cpanfile  2022-03-02 23:23:27.000000000 +0100
+++ new/DateTime-1.57/cpanfile  2022-03-03 15:47:45.000000000 +0100
@@ -36,6 +36,7 @@
   requires "Test::Fatal" => "0";
   requires "Test::More" => "0.96";
   requires "Test::Warnings" => "0.005";
+  requires "Test::Without::Module" => "0";
   requires "utf8" => "0";
 };
 
@@ -81,6 +82,7 @@
   requires "Test::Spelling" => "0.12";
   requires "Test::Version" => "2.05";
   requires "Test::Warnings" => "0.005";
+  requires "Test::Without::Module" => "0";
   requires "autodie" => "0";
   requires "utf8" => "0";
 };
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/DateTime-1.56/lib/DateTime/Duration.pm 
new/DateTime-1.57/lib/DateTime/Duration.pm
--- old/DateTime-1.56/lib/DateTime/Duration.pm  2022-03-02 23:23:27.000000000 
+0100
+++ new/DateTime-1.57/lib/DateTime/Duration.pm  2022-03-03 15:47:45.000000000 
+0100
@@ -4,7 +4,7 @@
 use warnings;
 use namespace::autoclean;
 
-our $VERSION = '1.56';
+our $VERSION = '1.57';
 
 use Carp ();
 use DateTime;
@@ -362,7 +362,7 @@
 
 =head1 VERSION
 
-version 1.56
+version 1.57
 
 =head1 SYNOPSIS
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/DateTime-1.56/lib/DateTime/Helpers.pm 
new/DateTime-1.57/lib/DateTime/Helpers.pm
--- old/DateTime-1.56/lib/DateTime/Helpers.pm   2022-03-02 23:23:27.000000000 
+0100
+++ new/DateTime-1.57/lib/DateTime/Helpers.pm   2022-03-03 15:47:45.000000000 
+0100
@@ -3,7 +3,7 @@
 use strict;
 use warnings;
 
-our $VERSION = '1.56';
+our $VERSION = '1.57';
 
 use Scalar::Util ();
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/DateTime-1.56/lib/DateTime/Infinite.pm 
new/DateTime-1.57/lib/DateTime/Infinite.pm
--- old/DateTime-1.56/lib/DateTime/Infinite.pm  2022-03-02 23:23:27.000000000 
+0100
+++ new/DateTime-1.57/lib/DateTime/Infinite.pm  2022-03-03 15:47:45.000000000 
+0100
@@ -5,7 +5,7 @@
 use warnings;
 use namespace::autoclean;
 
-our $VERSION = '1.56';
+our $VERSION = '1.57';
 
 use DateTime;
 use DateTime::TimeZone;
@@ -214,7 +214,7 @@
 
 =head1 VERSION
 
-version 1.56
+version 1.57
 
 =head1 SYNOPSIS
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/DateTime-1.56/lib/DateTime/LeapSecond.pm 
new/DateTime-1.57/lib/DateTime/LeapSecond.pm
--- old/DateTime-1.56/lib/DateTime/LeapSecond.pm        2022-03-02 
23:23:27.000000000 +0100
+++ new/DateTime-1.57/lib/DateTime/LeapSecond.pm        2022-03-03 
15:47:45.000000000 +0100
@@ -4,7 +4,7 @@
 use warnings;
 use namespace::autoclean;
 
-our $VERSION = '1.56';
+our $VERSION = '1.57';
 
 our ( @RD, @LEAP_SECONDS, %RD_LENGTH );
 
@@ -134,7 +134,7 @@
 
 =head1 VERSION
 
-version 1.56
+version 1.57
 
 =head1 SYNOPSIS
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/DateTime-1.56/lib/DateTime/PP.pm 
new/DateTime-1.57/lib/DateTime/PP.pm
--- old/DateTime-1.56/lib/DateTime/PP.pm        2022-03-02 23:23:27.000000000 
+0100
+++ new/DateTime-1.57/lib/DateTime/PP.pm        2022-03-03 15:47:45.000000000 
+0100
@@ -3,7 +3,7 @@
 use strict;
 use warnings;
 
-our $VERSION = '1.56';
+our $VERSION = '1.57';
 
 ## no critic (Variables::ProhibitPackageVars)
 $DateTime::IsPurePerl = 1;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/DateTime-1.56/lib/DateTime/PPExtra.pm 
new/DateTime-1.57/lib/DateTime/PPExtra.pm
--- old/DateTime-1.56/lib/DateTime/PPExtra.pm   2022-03-02 23:23:27.000000000 
+0100
+++ new/DateTime-1.57/lib/DateTime/PPExtra.pm   2022-03-03 15:47:45.000000000 
+0100
@@ -3,7 +3,7 @@
 use strict;
 use warnings;
 
-our $VERSION = '1.56';
+our $VERSION = '1.57';
 
 use DateTime::LeapSecond;
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/DateTime-1.56/lib/DateTime/Types.pm 
new/DateTime-1.57/lib/DateTime/Types.pm
--- old/DateTime-1.56/lib/DateTime/Types.pm     2022-03-02 23:23:27.000000000 
+0100
+++ new/DateTime-1.57/lib/DateTime/Types.pm     2022-03-03 15:47:45.000000000 
+0100
@@ -4,7 +4,7 @@
 use warnings;
 use namespace::autoclean;
 
-our $VERSION = '1.56';
+our $VERSION = '1.57';
 
 use parent 'Specio::Exporter';
 
@@ -170,7 +170,7 @@
 
 =head1 VERSION
 
-version 1.56
+version 1.57
 
 =head1 DESCRIPTION
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/DateTime-1.56/lib/DateTime.pm 
new/DateTime-1.57/lib/DateTime.pm
--- old/DateTime-1.56/lib/DateTime.pm   2022-03-02 23:23:27.000000000 +0100
+++ new/DateTime-1.57/lib/DateTime.pm   2022-03-03 15:47:45.000000000 +0100
@@ -8,7 +8,7 @@
 use warnings::register;
 use namespace::autoclean 0.19;
 
-our $VERSION = '1.56';
+our $VERSION = '1.57';
 
 use Carp;
 use DateTime::Duration;
@@ -478,8 +478,9 @@
     );
 
     my $one_param_validator = validation_for(
-        name   => '_check_one_from_epoch_param',
-        params => [ { type => t('Num') } ],
+        name             => '_check_one_from_epoch_param',
+        name_is_optional => 1,
+        params           => [ { type => t('Num') } ],
     );
 
     sub from_epoch {
@@ -2374,7 +2375,7 @@
 
 =head1 VERSION
 
-version 1.56
+version 1.57
 
 =head1 SYNOPSIS
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/DateTime-1.56/t/00-report-prereqs.dd 
new/DateTime-1.57/t/00-report-prereqs.dd
--- old/DateTime-1.56/t/00-report-prereqs.dd    2022-03-02 23:23:27.000000000 
+0100
+++ new/DateTime-1.57/t/00-report-prereqs.dd    2022-03-03 15:47:45.000000000 
+0100
@@ -38,6 +38,7 @@
                                       'Test::Spelling' => '0.12',
                                       'Test::Version' => '2.05',
                                       'Test::Warnings' => '0.005',
+                                      'Test::Without::Module' => '0',
                                       'autodie' => '0',
                                       'utf8' => '0'
                                     }
@@ -84,6 +85,7 @@
                                    'Test::Fatal' => '0',
                                    'Test::More' => '0.96',
                                    'Test::Warnings' => '0.005',
+                                   'Test::Without::Module' => '0',
                                    'utf8' => '0'
                                  }
                  }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/DateTime-1.56/t/49-without-sub-util.t 
new/DateTime-1.57/t/49-without-sub-util.t
--- old/DateTime-1.56/t/49-without-sub-util.t   1970-01-01 01:00:00.000000000 
+0100
+++ new/DateTime-1.57/t/49-without-sub-util.t   2022-03-03 15:47:45.000000000 
+0100
@@ -0,0 +1,9 @@
+use strict;
+use warnings;
+
+use Test::More 0.88;
+use Test::Without::Module qw( Sub::Util );
+
+use_ok('DateTime');
+
+done_testing();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/DateTime-1.56/xt/author/eol.t 
new/DateTime-1.57/xt/author/eol.t
--- old/DateTime-1.56/xt/author/eol.t   2022-03-02 23:23:27.000000000 +0100
+++ new/DateTime-1.57/xt/author/eol.t   2022-03-03 15:47:45.000000000 +0100
@@ -66,6 +66,7 @@
     't/46warnings.t',
     't/47default-time-zone.t',
     't/48rt-115983.t',
+    't/49-without-sub-util.t',
     't/zzz-check-breaks.t'
 );
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/DateTime-1.56/xt/author/no-tabs.t 
new/DateTime-1.57/xt/author/no-tabs.t
--- old/DateTime-1.56/xt/author/no-tabs.t       2022-03-02 23:23:27.000000000 
+0100
+++ new/DateTime-1.57/xt/author/no-tabs.t       2022-03-03 15:47:45.000000000 
+0100
@@ -66,6 +66,7 @@
     't/46warnings.t',
     't/47default-time-zone.t',
     't/48rt-115983.t',
+    't/49-without-sub-util.t',
     't/zzz-check-breaks.t'
 );
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/DateTime-1.56/xt/author/pp-49-without-sub-util.t 
new/DateTime-1.57/xt/author/pp-49-without-sub-util.t
--- old/DateTime-1.56/xt/author/pp-49-without-sub-util.t        1970-01-01 
01:00:00.000000000 +0100
+++ new/DateTime-1.57/xt/author/pp-49-without-sub-util.t        2022-03-03 
15:47:45.000000000 +0100
@@ -0,0 +1,14 @@
+BEGIN {
+    $ENV{PERL_DATETIME_PP} = 1;
+}
+
+use strict;
+use warnings;
+
+use Test::More 0.88;
+use Test::Without::Module qw( Sub::Util );
+
+use_ok('DateTime');
+
+done_testing();
+

Reply via email to