Compare commits

..

No commits in common. "d45ae15ef62a9a775526a3fa6071cfa86fad4cf9" and "9e6aed8f6657906291d88feae1d19f67b1051c9b" have entirely different histories.

4 changed files with 4 additions and 66 deletions

BIN
TimeDate-2.30.tar.gz Normal file

Binary file not shown.

Binary file not shown.

View File

@ -1,30 +0,0 @@
From 21b0250cdbf98ad01f6d5a447d99f10adaad9ac7 Mon Sep 17 00:00:00 2001
From: Nicolas R <cpan@atoomic.org>
Date: Thu, 5 Aug 2021 16:13:07 -0600
Subject: [PATCH] Remove limitation from Date::Parse
Fix #43
---
lib/Date/Parse.pm | 6 ------
1 files changed, 6 deletions(-)
diff --git a/lib/Date/Parse.pm b/lib/Date/Parse.pm
index afdcc1c..a5dc0fb 100644
--- a/lib/Date/Parse.pm
+++ b/lib/Date/Parse.pm
@@ -354,12 +354,6 @@ Below is a sample list of dates that are known to be parsable with Date::Parse
1999 10:02:18 "GMT"
16 Nov 94 22:28:20 PST
-=head1 LIMITATION
-
-Date::Parse uses L<Time::Local> internally, so is limited to only parsing dates
-which result in valid values for Time::Local::timelocal. This generally means dates
-between 1901-12-17 00:00:00 GMT and 2038-01-16 23:59:59 GMT
-
=head1 BUGS
When both the month and the date are specified in the date as numbers
--
2.27.0

View File

@ -1,11 +1,11 @@
Name: perl-TimeDate Name: perl-TimeDate
Version: 2.33 Version: 2.30
Epoch: 1 Epoch: 1
Release: 4 Release: 17
Summary: Perl5 TimeDate distribution Summary: Perl5 TimeDate distribution
License: GPL+ or Artistic License: GPL+ or Artistic
URL: https://metacpan.org/release/TimeDate URL: https://metacpan.org/release/TimeDate
Source0: https://cpan.metacpan.org/authors/id/A/AT/ATOOMIC/TimeDate-%{version}.tar.gz Source0: https://cpan.metacpan.org/authors/id/G/GB/GBARR/TimeDate-%{version}.tar.gz
BuildArch: noarch BuildArch: noarch
BuildRequires: perl-generators perl(base) perl(Carp) BuildRequires: perl-generators perl(base) perl(Carp)
BuildRequires: perl(Exporter) perl(ExtUtils::MakeMaker) perl(strict) BuildRequires: perl(Exporter) perl(ExtUtils::MakeMaker) perl(strict)
@ -14,8 +14,6 @@ BuildRequires: perl(vars) perl(warnings)
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Patch6000: backport-Remove-limitation-from-Date-Parse.patch
%description %description
This is the perl5 TimeDate distribution. It requires perl version 5.003 or later This is the perl5 TimeDate distribution. It requires perl version 5.003 or later
This distribution replaces my earlier GetDate distribution, which was This distribution replaces my earlier GetDate distribution, which was
@ -42,7 +40,7 @@ find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
%{__chmod} -Rf a+rX,u+w,g-w,o-w $RPM_BUILD_ROOT/* %{__chmod} -Rf a+rX,u+w,g-w,o-w $RPM_BUILD_ROOT/*
%check %check
make test #make test
%files %files
%{perl_vendorlib}/ %{perl_vendorlib}/
@ -54,36 +52,6 @@ make test
%changelog %changelog
* Mon Oct 24 2022 xujing <xujing125@huawei.com> - 1:2.33-4
- Type:bugs
- ID:NA
- SUG:NA
- DESC: modify patchname which backport from upstream
* Thu Oct 20 2022 xujing <xujing125@huawei.com> - 1:2.33-3
- Type:bugs
- ID:NA
- SUG:NA
- DESC: Remove limitation from Date::Parse
* Tue Sep 08 2020 liuweibo <liuweibo10@huawei.com> - 1:2.33-2
- Type:bugs
- ID:NA
- SUG:NA
- DESC: fix Source0
* 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
- SUG:NA
- DESC: fix test
* Wed Jan 22 2020 gulining<gulining1@huawei.com> - 1:2.30-17 * Wed Jan 22 2020 gulining<gulining1@huawei.com> - 1:2.30-17
- Disable test - Disable test