update to 2.33

This commit is contained in:
phanddy 2020-07-23 18:40:50 +08:00
parent bcebec3009
commit 865af4777a
4 changed files with 7 additions and 23 deletions

Binary file not shown.

BIN
TimeDate-2.33.tar.gz Normal file

Binary file not shown.

View File

@ -1,21 +0,0 @@
From 9c46fc2657dfae756d17a8a25ab8cd6c124f1f7b Mon Sep 17 00:00:00 2001
From: Prajith <me@prajith.in>
Date: Thu, 2 Jan 2020 11:51:23 +0530
Subject: [PATCH] Update Test t/getdate.t
---
t/getdate.t | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/t/getdate.t b/t/getdate.t
index 31b577b..82c5850 100644
--- a/t/getdate.t
+++ b/t/getdate.t
@@ -156,7 +156,7 @@ Jul 22 10:00:00 UTC 2002 ;1027332000
!;
require Time::Local;
-my $offset = Time::Local::timegm(0,0,0,1,0,70);
+my $offset = Time::Local::timegm(0,0,0,1,0,1970);
@data = split(/\n/, $data);

View File

@ -1,12 +1,11 @@
Name: perl-TimeDate
Version: 2.30
Version: 2.33
Epoch: 1
Release: 18
Summary: Perl5 TimeDate distribution
License: GPL+ or Artistic
URL: https://metacpan.org/release/TimeDate
Source0: https://cpan.metacpan.org/authors/id/G/GB/GBARR/TimeDate-%{version}.tar.gz
Patch0001: fix-test.patch
BuildArch: noarch
BuildRequires: perl-generators perl(base) perl(Carp)
BuildRequires: perl(Exporter) perl(ExtUtils::MakeMaker) perl(strict)
@ -53,6 +52,12 @@ make test
%changelog
* Wed Jul 22 2020 dingyue <dingyue5@huawei.com> - 1:2.33-1
- Type:bugs
- ID:NA
- SUG:NA
- DESC: fix test
* Thu Feb 06 2020 yanzhihua <yanzhihua4@huawei.com> - 1:2.30-18
- Type:bugs
- ID:NA