Compare commits

...

11 Commits

Author SHA1 Message Date
openeuler-ci-bot
d45ae15ef6
!16 [sync] PR-14: modify patchname which backport form upstream
From: @openeuler-sync-bot 
Reviewed-by: @licihua 
Signed-off-by: @licihua
2022-10-24 08:57:22 +00:00
xujing
62454f1de5 modify patchname which backport from upstream
(cherry picked from commit 3906be1739558f40c99a292c6f67d7f05ab91416)
2022-10-24 11:23:23 +08:00
openeuler-ci-bot
d9678c16f3
!13 [sync] PR-11: Remove limitation from Date::Parse
From: @openeuler-sync-bot 
Reviewed-by: @licihua 
Signed-off-by: @licihua
2022-10-24 03:08:20 +00:00
xujing
8f8c1441e3 Remove limitation from Date::Parse
(cherry picked from commit f6247042f2dd5b74892997ac83745a1680164213)
2022-10-24 10:18:09 +08:00
openeuler-ci-bot
360ed4fd3b !7 Fix source0
Merge pull request !7 from alan/master
2020-09-09 11:47:56 +08:00
kkkl12
51c3689a62 Modify E-mail address 2020-09-08 15:50:16 +08:00
kkkl12
1348286639 fix Source0 2020-09-08 10:09:02 +08:00
openeuler-ci-bot
d8dc7b9dd0 !4 update to perl-TimeDate 2.33
Merge pull request !4 from phanddy/master
2020-07-28 11:06:58 +08:00
phanddy
865af4777a update to 2.33 2020-07-23 18:40:50 +08:00
openeuler-ci-bot
bcebec3009 !2 fix test
Merge pull request !2 from 严志华/master
2020-05-09 20:19:26 +08:00
daidai_is_here
7d775ee4a7 fix test 2020-02-06 10:58:40 +08:00
4 changed files with 66 additions and 4 deletions

Binary file not shown.

BIN
TimeDate-2.33.tar.gz Normal file

Binary file not shown.

View 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

View File

@ -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