Compare commits
No commits in common. "imports/c8-beta/perl-TimeDate-2.30-13.el8" and "c8-stream-6.34" have entirely different histories.
imports/c8
...
c8-stream-
31
SOURCES/TimeDate-2.30-Update-Test-t-getdate.t.patch
Normal file
31
SOURCES/TimeDate-2.30-Update-Test-t-getdate.t.patch
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
From 36d47308a51350905ebbf01020fa88dcc3bbe3e1 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
|
||||||
|
MIME-Version: 1.0
|
||||||
|
Content-Type: text/plain; charset=UTF-8
|
||||||
|
Content-Transfer-Encoding: 8bit
|
||||||
|
|
||||||
|
(cherry picked from commit 9c46fc2657dfae756d17a8a25ab8cd6c124f1f7b)
|
||||||
|
Signed-off-by: Nicolas Rochelemagne <rochelemagne@cpanel.net>
|
||||||
|
Signed-off-by: Petr Písař <ppisar@redhat.com>
|
||||||
|
---
|
||||||
|
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);
|
||||||
|
|
||||||
|
--
|
||||||
|
2.21.1
|
||||||
|
|
@ -1,12 +1,14 @@
|
|||||||
Name: perl-TimeDate
|
Name: perl-TimeDate
|
||||||
Version: 2.30
|
Version: 2.30
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Release: 13%{?dist}
|
Release: 15%{?dist}
|
||||||
Summary: A Perl module for time and date manipulation
|
Summary: A Perl module for time and date manipulation
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
License: GPL+ or Artistic
|
License: GPL+ or Artistic
|
||||||
URL: http://search.cpan.org/dist/TimeDate/
|
URL: http://search.cpan.org/dist/TimeDate/
|
||||||
Source0: http://www.cpan.org/authors/id/G/GB/GBARR/TimeDate-%{version}.tar.gz
|
Source0: http://www.cpan.org/authors/id/G/GB/GBARR/TimeDate-%{version}.tar.gz
|
||||||
|
# Adjusts tests to year 2020, bug #1821729, in 2.31.
|
||||||
|
Patch0: TimeDate-2.30-Update-Test-t-getdate.t.patch
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: perl-generators
|
BuildRequires: perl-generators
|
||||||
BuildRequires: perl(base)
|
BuildRequires: perl(base)
|
||||||
@ -30,6 +32,7 @@ textual representations of points in time.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n TimeDate-%{version}
|
%setup -q -n TimeDate-%{version}
|
||||||
|
%patch0 -p1
|
||||||
# ChangeLog is ISO-8859-1 encoded
|
# ChangeLog is ISO-8859-1 encoded
|
||||||
iconv -f iso-8859-1 -t utf8 < ChangeLog > ChangeLog.utf8
|
iconv -f iso-8859-1 -t utf8 < ChangeLog > ChangeLog.utf8
|
||||||
mv ChangeLog.utf8 ChangeLog
|
mv ChangeLog.utf8 ChangeLog
|
||||||
@ -55,6 +58,12 @@ make test
|
|||||||
%{_mandir}/man3/*.3*
|
%{_mandir}/man3/*.3*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Apr 07 2020 Petr Pisar <ppisar@redhat.com> - 1:2.30-15
|
||||||
|
- Adjusts tests to year 2020 (bug #1821729)
|
||||||
|
|
||||||
|
* Fri Mar 29 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1:2.30-14
|
||||||
|
- Rebuild with enable hardening (bug #1636329)
|
||||||
|
|
||||||
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.30-13
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.30-13
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user