Compare commits

..

No commits in common. "c8-stream-6.34" and "imports/c8-stream-5.26/perl-TimeDate-2.30-13.el8+733+86cf098e" have entirely different histories.

2 changed files with 1 additions and 41 deletions

View File

@ -1,31 +0,0 @@
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

View File

@ -1,14 +1,12 @@
Name: perl-TimeDate
Version: 2.30
Epoch: 1
Release: 15%{?dist}
Release: 13%{?dist}
Summary: A Perl module for time and date manipulation
Group: Development/Libraries
License: GPL+ or Artistic
URL: http://search.cpan.org/dist/TimeDate/
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
BuildRequires: perl-generators
BuildRequires: perl(base)
@ -32,7 +30,6 @@ textual representations of points in time.
%prep
%setup -q -n TimeDate-%{version}
%patch0 -p1
# ChangeLog is ISO-8859-1 encoded
iconv -f iso-8859-1 -t utf8 < ChangeLog > ChangeLog.utf8
mv ChangeLog.utf8 ChangeLog
@ -58,12 +55,6 @@ make test
%{_mandir}/man3/*.3*
%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
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild