Hello community,
here is the log from the commit of package perl-DateTime-Format-Strptime for
openSUSE:Factory checked in at 2015-11-17 14:22:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-DateTime-Format-Strptime (Old)
and /work/SRC/openSUSE:Factory/.perl-DateTime-Format-Strptime.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-DateTime-Format-Strptime"
Changes:
--------
---
/work/SRC/openSUSE:Factory/perl-DateTime-Format-Strptime/perl-DateTime-Format-Strptime.changes
2015-11-11 10:36:08.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.perl-DateTime-Format-Strptime.new/perl-DateTime-Format-Strptime.changes
2015-11-17 14:22:50.000000000 +0100
@@ -1,0 +2,16 @@
+Sun Nov 15 09:37:57 UTC 2015 - [email protected]
+
+- updated to 1.61
+ see /usr/share/doc/packages/perl-DateTime-Format-Strptime/Changes
+
+ 1.61 2015-11-13
+
+ [BUG FIXES]
+
+ - If you loaded this module with warnings globally enabled ("perl -w", which
+ you should never do), then you'd get a warning about the import subroutine
+ being redefined. This broke the Package::DeprecationManager API for turning
+ off deprecation warnings. This has been fixed in
+ Package::DeprecationManager 0.15. Reported by Martin. RT #108871.
+
+-------------------------------------------------------------------
Old:
----
DateTime-Format-Strptime-1.60.tar.gz
New:
----
DateTime-Format-Strptime-1.61.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-DateTime-Format-Strptime.spec ++++++
--- /var/tmp/diff_new_pack.4hNTqq/_old 2015-11-17 14:22:51.000000000 +0100
+++ /var/tmp/diff_new_pack.4hNTqq/_new 2015-11-17 14:22:51.000000000 +0100
@@ -17,7 +17,7 @@
Name: perl-DateTime-Format-Strptime
-Version: 1.60
+Version: 1.61
Release: 0
%define cpan_name DateTime-Format-Strptime
Summary: Parse and format strp and strf time patterns
@@ -33,15 +33,16 @@
BuildRequires: perl(DateTime) >= 1.00
BuildRequires: perl(DateTime::Locale) >= 0.450000
BuildRequires: perl(DateTime::TimeZone) >= 0.79
-BuildRequires: perl(Package::DeprecationManager)
+BuildRequires: perl(Package::DeprecationManager) >= 0.15
BuildRequires: perl(Params::Validate) >= 1.20
BuildRequires: perl(Test::Fatal)
BuildRequires: perl(Test::More) >= 0.96
+BuildRequires: perl(Test::Warnings)
BuildRequires: perl(Try::Tiny)
Requires: perl(DateTime) >= 1.00
Requires: perl(DateTime::Locale) >= 0.450000
Requires: perl(DateTime::TimeZone) >= 0.79
-Requires: perl(Package::DeprecationManager)
+Requires: perl(Package::DeprecationManager) >= 0.15
Requires: perl(Params::Validate) >= 1.20
Requires: perl(Try::Tiny)
%{perl_requires}
++++++ DateTime-Format-Strptime-1.60.tar.gz ->
DateTime-Format-Strptime-1.61.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/DateTime-Format-Strptime-1.60/Changes
new/DateTime-Format-Strptime-1.61/Changes
--- old/DateTime-Format-Strptime-1.60/Changes 2015-11-07 21:12:23.000000000
+0100
+++ new/DateTime-Format-Strptime-1.61/Changes 2015-11-14 03:43:47.000000000
+0100
@@ -1,3 +1,14 @@
+1.61 2015-11-13
+
+[BUG FIXES]
+
+- If you loaded this module with warnings globally enabled ("perl -w", which
+ you should never do), then you'd get a warning about the import subroutine
+ being redefined. This broke the Package::DeprecationManager API for turning
+ off deprecation warnings. This has been fixed in
+ Package::DeprecationManager 0.15. Reported by Martin. RT #108871.
+
+
1.60 2015-11-07
- This release is identical to the prior trial release. The changes for the
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/DateTime-Format-Strptime-1.60/MANIFEST
new/DateTime-Format-Strptime-1.61/MANIFEST
--- old/DateTime-Format-Strptime-1.60/MANIFEST 2015-11-07 21:12:23.000000000
+0100
+++ new/DateTime-Format-Strptime-1.61/MANIFEST 2015-11-14 03:43:47.000000000
+0100
@@ -26,6 +26,7 @@
t/basic.t
t/edge.t
t/errors.t
+t/import.t
t/lib/T.pm
t/locales.t
t/release-pod-coverage.t
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/DateTime-Format-Strptime-1.60/META.json
new/DateTime-Format-Strptime-1.61/META.json
--- old/DateTime-Format-Strptime-1.60/META.json 2015-11-07 21:12:23.000000000
+0100
+++ new/DateTime-Format-Strptime-1.61/META.json 2015-11-14 03:43:47.000000000
+0100
@@ -49,7 +49,7 @@
"DateTime::Locale" : "0.45",
"DateTime::TimeZone" : "0.79",
"Exporter" : "0",
- "Package::DeprecationManager" : "0",
+ "Package::DeprecationManager" : "0.15",
"Params::Validate" : "1.20",
"Try::Tiny" : "0",
"constant" : "0",
@@ -67,6 +67,7 @@
"Test::Builder" : "0",
"Test::Fatal" : "0",
"Test::More" : "0.96",
+ "Test::Warnings" : "0",
"lib" : "0",
"utf8" : "0"
}
@@ -75,7 +76,7 @@
"provides" : {
"DateTime::Format::Strptime" : {
"file" : "lib/DateTime/Format/Strptime.pm",
- "version" : "1.60"
+ "version" : "1.61"
}
},
"release_status" : "stable",
@@ -91,7 +92,7 @@
"web" : "https://github.com/autarch/DateTime-Format-Strptime"
}
},
- "version" : "1.60",
+ "version" : "1.61",
"x_Dist_Zilla" : {
"perl" : {
"version" : "5.022000"
@@ -648,7 +649,7 @@
"branch" : null,
"changelog" : "Changes",
"signed" : 0,
- "tag" : "v1.60",
+ "tag" : "v1.61",
"tag_format" : "v%v",
"tag_message" : "v%v"
},
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/DateTime-Format-Strptime-1.60/META.yml
new/DateTime-Format-Strptime-1.61/META.yml
--- old/DateTime-Format-Strptime-1.60/META.yml 2015-11-07 21:12:23.000000000
+0100
+++ new/DateTime-Format-Strptime-1.61/META.yml 2015-11-14 03:43:47.000000000
+0100
@@ -9,6 +9,7 @@
Test::Builder: '0'
Test::Fatal: '0'
Test::More: '0.96'
+ Test::Warnings: '0'
lib: '0'
utf8: '0'
configure_requires:
@@ -23,14 +24,14 @@
provides:
DateTime::Format::Strptime:
file: lib/DateTime/Format/Strptime.pm
- version: '1.60'
+ version: '1.61'
requires:
Carp: '0'
DateTime: '1.00'
DateTime::Locale: '0.45'
DateTime::TimeZone: '0.79'
Exporter: '0'
- Package::DeprecationManager: '0'
+ Package::DeprecationManager: '0.15'
Params::Validate: '1.20'
Try::Tiny: '0'
constant: '0'
@@ -40,7 +41,7 @@
bugtracker:
http://rt.cpan.org/Public/Dist/Display.html?Name=DateTime-Format-Strptime
homepage: http://metacpan.org/release/DateTime-Format-Strptime
repository: git://github.com/autarch/DateTime-Format-Strptime.git
-version: '1.60'
+version: '1.61'
x_Dist_Zilla:
perl:
version: '5.022000'
@@ -472,7 +473,7 @@
branch: ~
changelog: Changes
signed: 0
- tag: v1.60
+ tag: v1.61
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-Format-Strptime-1.60/Makefile.PL
new/DateTime-Format-Strptime-1.61/Makefile.PL
--- old/DateTime-Format-Strptime-1.60/Makefile.PL 2015-11-07
21:12:23.000000000 +0100
+++ new/DateTime-Format-Strptime-1.61/Makefile.PL 2015-11-14
03:43:47.000000000 +0100
@@ -21,7 +21,7 @@
"DateTime::Locale" => "0.45",
"DateTime::TimeZone" => "0.79",
"Exporter" => 0,
- "Package::DeprecationManager" => 0,
+ "Package::DeprecationManager" => "0.15",
"Params::Validate" => "1.20",
"Try::Tiny" => 0,
"constant" => 0,
@@ -34,10 +34,11 @@
"Test::Builder" => 0,
"Test::Fatal" => 0,
"Test::More" => "0.96",
+ "Test::Warnings" => 0,
"lib" => 0,
"utf8" => 0
},
- "VERSION" => "1.60",
+ "VERSION" => "1.61",
"test" => {
"TESTS" => "t/*.t"
}
@@ -52,11 +53,12 @@
"Exporter" => 0,
"ExtUtils::MakeMaker" => 0,
"File::Spec" => 0,
- "Package::DeprecationManager" => 0,
+ "Package::DeprecationManager" => "0.15",
"Params::Validate" => "1.20",
"Test::Builder" => 0,
"Test::Fatal" => 0,
"Test::More" => "0.96",
+ "Test::Warnings" => 0,
"Try::Tiny" => 0,
"constant" => 0,
"lib" => 0,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/DateTime-Format-Strptime-1.60/README.md
new/DateTime-Format-Strptime-1.61/README.md
--- old/DateTime-Format-Strptime-1.60/README.md 2015-11-07 21:12:23.000000000
+0100
+++ new/DateTime-Format-Strptime-1.61/README.md 2015-11-14 03:43:47.000000000
+0100
@@ -5,7 +5,7 @@
VERSION
- version 1.60
+ version 1.61
SYNOPSIS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/DateTime-Format-Strptime-1.60/cpanfile
new/DateTime-Format-Strptime-1.61/cpanfile
--- old/DateTime-Format-Strptime-1.60/cpanfile 2015-11-07 21:12:23.000000000
+0100
+++ new/DateTime-Format-Strptime-1.61/cpanfile 2015-11-14 03:43:47.000000000
+0100
@@ -3,7 +3,7 @@
requires "DateTime::Locale" => "0.45";
requires "DateTime::TimeZone" => "0.79";
requires "Exporter" => "0";
-requires "Package::DeprecationManager" => "0";
+requires "Package::DeprecationManager" => "0.15";
requires "Params::Validate" => "1.20";
requires "Try::Tiny" => "0";
requires "constant" => "0";
@@ -16,6 +16,7 @@
requires "Test::Builder" => "0";
requires "Test::Fatal" => "0";
requires "Test::More" => "0.96";
+ requires "Test::Warnings" => "0";
requires "lib" => "0";
requires "utf8" => "0";
};
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/DateTime-Format-Strptime-1.60/lib/DateTime/Format/Strptime.pm
new/DateTime-Format-Strptime-1.61/lib/DateTime/Format/Strptime.pm
--- old/DateTime-Format-Strptime-1.60/lib/DateTime/Format/Strptime.pm
2015-11-07 21:12:23.000000000 +0100
+++ new/DateTime-Format-Strptime-1.61/lib/DateTime/Format/Strptime.pm
2015-11-14 03:43:47.000000000 +0100
@@ -3,7 +3,7 @@
use strict;
use warnings;
-our $VERSION = '1.60';
+our $VERSION = '1.61';
use Carp qw( carp croak );
use DateTime 1.00;
@@ -12,12 +12,12 @@
use Params::Validate 1.20 qw( validate SCALAR BOOLEAN OBJECT CODEREF );
use Try::Tiny;
-use Package::DeprecationManager -deprecations => {
+use Exporter qw( import );
+
+use Package::DeprecationManager 0.15 -deprecations => {
'accessor writers' => '1.58',
};
-use Exporter qw( import );
-
our @EXPORT_OK = qw( strftime strptime );
use constant PERL_58 => $] < 5.010;
@@ -1008,7 +1008,7 @@
=head1 VERSION
-version 1.60
+version 1.61
=head1 SYNOPSIS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/DateTime-Format-Strptime-1.60/t/00-report-prereqs.dd
new/DateTime-Format-Strptime-1.61/t/00-report-prereqs.dd
--- old/DateTime-Format-Strptime-1.60/t/00-report-prereqs.dd 2015-11-07
21:12:23.000000000 +0100
+++ new/DateTime-Format-Strptime-1.61/t/00-report-prereqs.dd 2015-11-14
03:43:47.000000000 +0100
@@ -33,7 +33,7 @@
'DateTime::Locale' => '0.45',
'DateTime::TimeZone' => '0.79',
'Exporter' => '0',
- 'Package::DeprecationManager' => '0',
+ 'Package::DeprecationManager' => '0.15',
'Params::Validate' => '1.20',
'Try::Tiny' => '0',
'constant' => '0',
@@ -51,6 +51,7 @@
'Test::Builder' => '0',
'Test::Fatal' => '0',
'Test::More' => '0.96',
+ 'Test::Warnings' => '0',
'lib' => '0',
'utf8' => '0'
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/DateTime-Format-Strptime-1.60/t/author-eol.t
new/DateTime-Format-Strptime-1.61/t/author-eol.t
--- old/DateTime-Format-Strptime-1.60/t/author-eol.t 2015-11-07
21:12:23.000000000 +0100
+++ new/DateTime-Format-Strptime-1.61/t/author-eol.t 2015-11-14
03:43:47.000000000 +0100
@@ -29,6 +29,7 @@
't/basic.t',
't/edge.t',
't/errors.t',
+ 't/import.t',
't/lib/T.pm',
't/locales.t',
't/release-pod-coverage.t',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/DateTime-Format-Strptime-1.60/t/author-no-tabs.t
new/DateTime-Format-Strptime-1.61/t/author-no-tabs.t
--- old/DateTime-Format-Strptime-1.60/t/author-no-tabs.t 2015-11-07
21:12:23.000000000 +0100
+++ new/DateTime-Format-Strptime-1.61/t/author-no-tabs.t 2015-11-14
03:43:47.000000000 +0100
@@ -29,6 +29,7 @@
't/basic.t',
't/edge.t',
't/errors.t',
+ 't/import.t',
't/lib/T.pm',
't/locales.t',
't/release-pod-coverage.t',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/DateTime-Format-Strptime-1.60/t/import.t
new/DateTime-Format-Strptime-1.61/t/import.t
--- old/DateTime-Format-Strptime-1.60/t/import.t 1970-01-01
01:00:00.000000000 +0100
+++ new/DateTime-Format-Strptime-1.61/t/import.t 2015-11-14
03:43:47.000000000 +0100
@@ -0,0 +1,40 @@
+use strict;
+use warnings;
+
+# We need this to be set to catch warning from inside other packages.
+BEGIN {
+ $^W = 1;
+}
+
+use Test::More;
+use Test::Warnings qw( warnings );
+
+use DateTime::Format::Strptime qw( strftime strptime ),
+ -api_version => '1.55';
+
+is_deeply(
+ [
+ warnings {
+ my $parser = DateTime::Format::Strptime->new( pattern => '%Y' );
+ $parser->pattern('%y');
+ $parser->locale('fr');
+ $parser->time_zone('UTC');
+ }
+ ],
+ [],
+ 'no warnings when calling accessors on constructed object'
+);
+
+is(
+ strptime( '%Y', '2005' )->year,
+ 2005,
+ 'export strptime works as expected'
+);
+
+is(
+ strftime( '%Y', DateTime->new( year => 2005 ) ),
+ 2005,
+ 'export strftime works as expected'
+);
+
+done_testing();