[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#948730: marked as done (stretch-pu: package libtest-mocktime-perl/0.17-0+deb9u1)



Your message dated Sat, 08 Feb 2020 14:23:35 +0000
with message-id <a894a0233c2d264936953d7a69507573c4a5742a.camel@adam-barratt.org.uk>
and subject line Closing bugs included in 9.12
has caused the Debian Bug report #948730,
regarding stretch-pu: package libtest-mocktime-perl/0.17-0+deb9u1
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
948730: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=948730
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
Tags: stretch
User: release.debian.org@packages.debian.org
Usertags: pu

  * New upstream release.
    - Only change is a fix for a build failure in the year 2020
      and later. (Closes: #948669)

The only change in files shipped in the binary package
is the version number.
diff -Nru libtest-mocktime-perl-0.15/Changes libtest-mocktime-perl-0.17/Changes
--- libtest-mocktime-perl-0.15/Changes	2015-09-03 15:14:02.000000000 +0300
+++ libtest-mocktime-perl-0.17/Changes	2018-04-01 09:05:17.000000000 +0300
@@ -1,6 +1,14 @@
 CHANGES
 -------
 
+  0.17 - 01 Apr 2018
+
+      * Fixed future timestamp on t/test.t.  Irony not intended, but a nice bug for April Fools Day.  Happy Easter to Torsten Raudssus for RT #124985.
+
+  0.16 - 22 Feb 2018
+
+      * Fixed calls to CORE::localtime in test suite to cope with years > 2020 as per RT #124508.  Thanks to Bernhard M. W. for patch.
+
   0.15 - 03 Sep 2015
 
       * Corrected README.  Merged POD into pm file
diff -Nru libtest-mocktime-perl-0.15/debian/changelog libtest-mocktime-perl-0.17/debian/changelog
--- libtest-mocktime-perl-0.15/debian/changelog	2015-09-05 00:55:21.000000000 +0300
+++ libtest-mocktime-perl-0.17/debian/changelog	2020-01-12 18:12:33.000000000 +0200
@@ -1,3 +1,12 @@
+libtest-mocktime-perl (0.17-0+deb9u1) stretch; urgency=medium
+
+  * Non-maintainer upload.
+  * New upstream release.
+    - Only change is a fix for a build failure in the year 2020
+      and later. (Closes: #948669)
+
+ -- Adrian Bunk <bunk@debian.org>  Sun, 12 Jan 2020 18:12:33 +0200
+
 libtest-mocktime-perl (0.15-1) unstable; urgency=medium
 
   * Team upload.
diff -Nru libtest-mocktime-perl-0.15/lib/Test/MockTime.pm libtest-mocktime-perl-0.17/lib/Test/MockTime.pm
--- libtest-mocktime-perl-0.15/lib/Test/MockTime.pm	2015-09-03 15:22:20.000000000 +0300
+++ libtest-mocktime-perl-0.17/lib/Test/MockTime.pm	2018-04-01 09:05:32.000000000 +0300
@@ -12,7 +12,7 @@
   restore_time
 );
 our %EXPORT_TAGS = ( 'all' => \@EXPORT_OK, );
-our $VERSION     = '0.15';
+our $VERSION     = '0.17';
 our $offset      = 0;
 our $fixed       = undef;
 
@@ -108,7 +108,7 @@
 
 =head1 VERSION
 
-Version 0.15
+Version 0.17
 
 =head1 SYNOPSIS
 
diff -Nru libtest-mocktime-perl-0.15/META.json libtest-mocktime-perl-0.17/META.json
--- libtest-mocktime-perl-0.15/META.json	2015-09-03 15:22:32.000000000 +0300
+++ libtest-mocktime-perl-0.17/META.json	2018-04-01 09:07:12.000000000 +0300
@@ -4,13 +4,13 @@
       "David Dick <ddick@cpan.org>"
    ],
    "dynamic_config" : 1,
-   "generated_by" : "ExtUtils::MakeMaker version 7.04, CPAN::Meta::Converter version 2.150001",
+   "generated_by" : "ExtUtils::MakeMaker version 7.3, CPAN::Meta::Converter version 2.150010",
    "license" : [
       "perl_5"
    ],
    "meta-spec" : {
       "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec";,
-      "version" : "2"
+      "version" : 2
    },
    "name" : "Test-MockTime",
    "no_index" : {
@@ -39,5 +39,6 @@
       }
    },
    "release_status" : "stable",
-   "version" : "0.15"
+   "version" : "0.17",
+   "x_serialization_backend" : "JSON::PP version 2.94"
 }
diff -Nru libtest-mocktime-perl-0.15/META.yml libtest-mocktime-perl-0.17/META.yml
--- libtest-mocktime-perl-0.15/META.yml	2015-09-03 15:22:32.000000000 +0300
+++ libtest-mocktime-perl-0.17/META.yml	2018-04-01 09:07:12.000000000 +0300
@@ -7,7 +7,7 @@
 configure_requires:
   ExtUtils::MakeMaker: '0'
 dynamic_config: 1
-generated_by: 'ExtUtils::MakeMaker version 7.04, CPAN::Meta::Converter version 2.150001'
+generated_by: 'ExtUtils::MakeMaker version 7.3, CPAN::Meta::Converter version 2.150010'
 license: perl
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -21,4 +21,5 @@
   Test::More: '0'
   Time::Local: '0'
   Time::Piece: '1.08'
-version: '0.15'
+version: '0.17'
+x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
diff -Nru libtest-mocktime-perl-0.15/README libtest-mocktime-perl-0.17/README
--- libtest-mocktime-perl-0.15/README	2015-09-03 15:22:22.000000000 +0300
+++ libtest-mocktime-perl-0.17/README	2018-04-01 09:05:42.000000000 +0300
@@ -4,7 +4,7 @@
 
 VERSION
 
-    Version 0.15
+    Version 0.17
 
 SYNOPSIS
 
diff -Nru libtest-mocktime-perl-0.15/t/test.t libtest-mocktime-perl-0.17/t/test.t
--- libtest-mocktime-perl-0.15/t/test.t	2005-03-20 07:11:29.000000000 +0200
+++ libtest-mocktime-perl-0.17/t/test.t	2018-04-01 09:05:48.000000000 +0300
@@ -38,7 +38,9 @@
 sleep 2;
 $mock = time;
 ok(($mock >= 102) && ($mock <= 103), "Absolute time is still in sync after two seconds sleep:$mock");
-$mock = Time::Local::timelocal(localtime);
+my @localtime = localtime;
+$localtime[5] += 1900; # to make sure that year=70 is not interpreted as 2070
+$mock = Time::Local::timelocal(@localtime);
 $real = Time::Local::timelocal(CORE::localtime);
 ok($mock <= $real, "localtime seems ok");
 Test::MockTime::set_fixed_time(CORE::time);

--- End Message ---
--- Begin Message ---
Package: release.debian.org
Version: 9.12

Hi,

Each of the uploads referred to by these bugs was included in today's
oldstable point release.

Regards,

Adam

--- End Message ---

Reply to: