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

Bug#948678: marked as done (stretch-pu: package libbusiness-hours-perl/0.13-0+deb9u1)



Your message dated Sat, 18 Jul 2020 13:07:00 +0100
with message-id <b8d89cdfeeda7b6d1ef96a8706a20f9525c2151b.camel@adam-barratt.org.uk>
and subject line Closing requests for fixes included in 9.13 point release
has caused the Debian Bug report #948678,
regarding stretch-pu: package libbusiness-hours-perl/0.13-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.)


-- 
948678: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=948678
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 and runtime failure
      with dates after 2018-12-31. (Closes: #934842)

Except for upstream metadata not shipped in the binary package
the changes in the new upstream version are this bugfix and
the version bump.
diff -Nru libbusiness-hours-perl-0.12/Changes libbusiness-hours-perl-0.13/Changes
--- libbusiness-hours-perl-0.12/Changes	2013-08-22 18:13:59.000000000 +0300
+++ libbusiness-hours-perl-0.13/Changes	2019-01-11 21:27:48.000000000 +0200
@@ -1,5 +1,10 @@
 Revision history for Perl module Business::Hours
 
+0.13
+  * Use explicit 4 digit years when using localtime. This fixes
+    some test failures that started after 2018-12-31 because of
+    date math.
+
 0.12
   * merge of 0.11 and 0.10_01:
   ** support shifts over midnight
diff -Nru libbusiness-hours-perl-0.12/debian/changelog libbusiness-hours-perl-0.13/debian/changelog
--- libbusiness-hours-perl-0.12/debian/changelog	2016-03-17 19:31:02.000000000 +0200
+++ libbusiness-hours-perl-0.13/debian/changelog	2020-01-11 21:36:25.000000000 +0200
@@ -1,3 +1,12 @@
+libbusiness-hours-perl (0.13-0+deb9u1) stretch; urgency=medium
+
+  * Non-maintainer upload.
+  * New upstream release.
+    - Only change is a fix for a build and runtime failure
+      with dates after 2018-12-31. (Closes: #934842)
+
+ -- Adrian Bunk <bunk@debian.org>  Sat, 11 Jan 2020 21:36:25 +0200
+
 libbusiness-hours-perl (0.12-1) unstable; urgency=low
 
   * Initial Release. (Closes: #810812)
diff -Nru libbusiness-hours-perl-0.12/lib/Business/Hours.pm libbusiness-hours-perl-0.13/lib/Business/Hours.pm
--- libbusiness-hours-perl-0.12/lib/Business/Hours.pm	2013-08-22 18:14:59.000000000 +0300
+++ libbusiness-hours-perl-0.13/lib/Business/Hours.pm	2019-01-11 21:18:25.000000000 +0200
@@ -7,7 +7,7 @@
 use Set::IntSpan;
 use Time::Local qw/timelocal_nocheck/;
 
-our $VERSION = '0.12';
+our $VERSION = '0.13';
 
 =head1 NAME
 
@@ -272,6 +272,7 @@
     # jump back to the first day (Sunday) of the last week before the period
     # began.
     my @start        = localtime( $args{'Start'} );
+    $start[5] += 1900;  # Set 4 digit year, see perldoc localtime
     my $month        = $start[4];
     my $year         = $start[5];
     my $first_sunday = $start[3] - $start[6];
@@ -320,6 +321,7 @@
 
         my @today = (localtime($week_start))[3, 4, 5];
         $today[0]--; # compensate next increment
+        $today[2] += 1900;  # Set 4 digit year
 
         # foreach day in the week, find that day's business hours in
         # seconds since the epoch.
@@ -352,6 +354,7 @@
     if ( my @holidays = $self->holidays ) {
         my $start_year = $year;
         my $end_year = (localtime $args{'End'})[5];
+        $end_year += 1900;  # Set 4 digit year
         foreach my $holiday (@holidays) {
             my ($year, $month, $date) = ($holiday =~ /^(?:(\d\d\d\d)\D)?(\d\d)\D(\d\d)$/);
             $month--;
diff -Nru libbusiness-hours-perl-0.12/META.json libbusiness-hours-perl-0.13/META.json
--- libbusiness-hours-perl-0.12/META.json	2013-08-22 18:16:00.000000000 +0300
+++ libbusiness-hours-perl-0.13/META.json	2019-01-11 21:32:15.000000000 +0200
@@ -4,7 +4,7 @@
       "Jesse Vincent (jesse@cpan.org)"
    ],
    "dynamic_config" : 1,
-   "generated_by" : "ExtUtils::MakeMaker version 6.72, CPAN::Meta::Converter version 2.131560",
+   "generated_by" : "ExtUtils::MakeMaker version 7.3, CPAN::Meta::Converter version 2.150005",
    "license" : [
       "unknown"
    ],
@@ -38,5 +38,6 @@
       }
    },
    "release_status" : "stable",
-   "version" : "0.12"
+   "version" : "0.13",
+   "x_serialization_backend" : "JSON::PP version 2.27300"
 }
diff -Nru libbusiness-hours-perl-0.12/META.yml libbusiness-hours-perl-0.13/META.yml
--- libbusiness-hours-perl-0.12/META.yml	2013-08-22 18:16:00.000000000 +0300
+++ libbusiness-hours-perl-0.13/META.yml	2019-01-11 21:32:15.000000000 +0200
@@ -3,21 +3,22 @@
 author:
   - 'Jesse Vincent (jesse@cpan.org)'
 build_requires:
-  ExtUtils::MakeMaker: 0
+  ExtUtils::MakeMaker: '0'
 configure_requires:
-  ExtUtils::MakeMaker: 0
+  ExtUtils::MakeMaker: '0'
 dynamic_config: 1
-generated_by: 'ExtUtils::MakeMaker version 6.72, CPAN::Meta::Converter version 2.131560'
+generated_by: 'ExtUtils::MakeMaker version 7.3, CPAN::Meta::Converter version 2.150005'
 license: unknown
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
-  version: 1.4
+  version: '1.4'
 name: Business-Hours
 no_index:
   directory:
     - t
     - inc
 requires:
-  Set::IntSpan: 1.12
-  Time::Local: 0
-version: 0.12
+  Set::IntSpan: '1.12'
+  Time::Local: '0'
+version: '0.13'
+x_serialization_backend: 'CPAN::Meta::YAML version 0.012'
diff -Nru libbusiness-hours-perl-0.12/SIGNATURE libbusiness-hours-perl-0.13/SIGNATURE
--- libbusiness-hours-perl-0.12/SIGNATURE	2013-08-22 18:16:06.000000000 +0300
+++ libbusiness-hours-perl-0.13/SIGNATURE	2019-01-11 21:32:26.000000000 +0200
@@ -1,5 +1,5 @@
 This file contains message digests of all files listed in MANIFEST,
-signed via the Module::Signature module, version 0.73.
+signed via the Module::Signature module, version 0.79.
 
 To verify the content in this distribution, first make sure you have
 Module::Signature installed, then type:
@@ -14,23 +14,26 @@
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
-SHA1 b67ccca482b91c862584e929ed9fe911080d67ec Changes
+SHA1 515774d022d4e70a043cc7dda92e553e13ee685c Changes
 SHA1 f235ba4160673bcb7c9d58c2f09dbc7fc0efadea LICENSE
 SHA1 a5d8888d68707497096338f505d524012f835062 MANIFEST
 SHA1 e476d8bd724d46eb9e255cc8afc98b92269e2255 MANIFEST.SKIP
-SHA1 a90262c93d261ffe181214b35a0b9336444699dd META.json
-SHA1 084e922e9da4e1e070a15ed6dbff01c2e83d97ef META.yml
+SHA1 d6b114cb8e3d06538ccc11bc4385eee6b3b6ceae META.json
+SHA1 e5ceaac93c205a279e950470f60b9040aed7e04a META.yml
 SHA1 7ca81bdcf42eaa6f4cfb777b54c914bd9a8c6a4c Makefile.PL
 SHA1 7e27ecbd2a455bf2ec9f91f1b8c29853a3663d62 README
-SHA1 d9c0aa93a7ba34a1de2ef1096ea7b6dac9464bb3 lib/Business/Hours.pm
+SHA1 3594c93368cd8b88be5917a1088cd0a11cc54720 lib/Business/Hours.pm
 SHA1 a9c1a7b193f0ce4419bd6ae3a5b84bf1a6f94dfa t/1-business-hours.t
 SHA1 18ff7b16cde0b1ba61858ee263ea50a87a1a6919 t/2-holidays.t
 SHA1 e18498f5413cb08aa563e3d0c76a1d9c6520b8c5 t/99-pod-coverage.t
 SHA1 aaf51e0d68143ceff893513e9a95bd01cdfa216f t/99-pod.t
 -----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.14 (Darwin)
 
-iEYEARECAAYFAlIWKzEACgkQvH6dkeDZaS9P4ACeIwY/ETX/j4kK+VVHY3wnEzX0
-/q0An3ioyiXz2k2qXAuDNCvKuwZo+CeL
-=KHND
+iQEcBAEBAgAGBQJcOO8/AAoJEBXncVGnZqUUrVAH/AvnYYbLkoIIWVejb4RxNk+d
+b/xj7D1o85m5QlZtEyXrv6w5vNVb/hecXinfwHFBT5hECio/vX5kz+id0E/tM+os
+JrsQfAaCKOwMIq7m0RpGyzJi6z1I4Sc3LDiHjK8BZKPlYTIw2Wwoyymk5zGoYqEq
+Mqz88XxcQPFqz68d0pT3wJNZPV0lQq9S+Fd9GZI9sEVP0jN3dXOLq/Lif9aN5Wpg
+6qZB3oFZ59ukH3SDbrKjoK9helodHoFlLCw/072sL/vW2ZrWJRyRDtQT8si3ugJh
+LNWV3RIqEvkdvp42oZMDe2yAXlA+s597QtcyCHy34w7/IKUCl02Kjmv90y4OvKs=
+=MSxE
 -----END PGP SIGNATURE-----

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

Hi,

All of these requests relate to updates that were included in today's
stretch point release.

Regards,

Adam

--- End Message ---

Reply to: