Compare commits
11 Commits
9e6aed8f66
...
d45ae15ef6
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d45ae15ef6 | ||
|
|
62454f1de5 | ||
|
|
d9678c16f3 | ||
|
|
8f8c1441e3 | ||
|
|
360ed4fd3b | ||
|
|
51c3689a62 | ||
|
|
1348286639 | ||
|
|
d8dc7b9dd0 | ||
|
|
865af4777a | ||
|
|
bcebec3009 | ||
|
|
7d775ee4a7 |
Binary file not shown.
BIN
TimeDate-2.33.tar.gz
Normal file
BIN
TimeDate-2.33.tar.gz
Normal file
Binary file not shown.
30
backport-Remove-limitation-from-Date-Parse.patch
Normal file
30
backport-Remove-limitation-from-Date-Parse.patch
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
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
|
||||||
|
|
||||||
@ -1,11 +1,11 @@
|
|||||||
Name: perl-TimeDate
|
Name: perl-TimeDate
|
||||||
Version: 2.30
|
Version: 2.33
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Release: 17
|
Release: 4
|
||||||
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/G/GB/GBARR/TimeDate-%{version}.tar.gz
|
Source0: https://cpan.metacpan.org/authors/id/A/AT/ATOOMIC/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,6 +14,8 @@ 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
|
||||||
@ -40,7 +42,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}/
|
||||||
@ -52,6 +54,36 @@ find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
|||||||
|
|
||||||
|
|
||||||
%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
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user