Compare commits

...

No commits in common. "c8-stream-6.34" and "c9-beta" have entirely different histories.

4 changed files with 67 additions and 53 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/TimeDate-2.30.tar.gz
SOURCES/TimeDate-2.33.tar.gz

View File

@ -1 +1 @@
db2f810bf665062998ffc1ba873c29287120f3f5 SOURCES/TimeDate-2.30.tar.gz
33384f2bcea9d9bb77009d1be00e671add9df69a SOURCES/TimeDate-2.33.tar.gz

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,26 +1,31 @@
Name: perl-TimeDate
Version: 2.30
Version: 2.33
Epoch: 1
Release: 15%{?dist}
Release: 6%{?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
URL: https://metacpan.org/release/TimeDate
Source0: https://cpan.metacpan.org/authors/id/A/AT/ATOOMIC/TimeDate-%{version}.tar.gz
BuildArch: noarch
BuildRequires: coreutils
# glibc-common for iconv tool
BuildRequires: glibc-common
BuildRequires: make
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(:VERSION) >= 5.4
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
# Run-time:
BuildRequires: perl(base)
BuildRequires: perl(Carp)
BuildRequires: perl(Exporter)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(strict)
BuildRequires: perl(Test::More)
BuildRequires: perl(Time::Local)
BuildRequires: perl(utf8)
BuildRequires: perl(vars)
BuildRequires: perl(warnings)
# Tests:
BuildRequires: perl(Test::More)
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%description
@ -32,7 +37,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
@ -40,12 +44,11 @@ mv ChangeLog.utf8 ChangeLog
chmod -x lib/Date/Language/{Russian_cp1251,Russian_koi8r,Turkish}.pm
%build
perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
%{make_build}
%install
make pure_install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
%{make_install}
%{_fixperms} $RPM_BUILD_ROOT/*
%check
@ -55,14 +58,56 @@ make test
%doc README ChangeLog
%{perl_vendorlib}/Date/
%{perl_vendorlib}/Time/
%{perl_vendorlib}/TimeDate.pm
%{_mandir}/man3/*.3*
%changelog
* Tue Apr 07 2020 Petr Pisar <ppisar@redhat.com> - 1:2.30-15
- Adjusts tests to year 2020 (bug #1821729)
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1:2.33-6
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Fri Mar 29 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1:2.30-14
- Rebuild with enable hardening (bug #1636329)
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1:2.33-5
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.33-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.33-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Mon Jun 22 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1:2.33-2
- Perl 5.32 rebuild
* Wed May 20 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1:2.33-1
- 2.33 bump
* Thu Mar 05 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1:2.32-1
- 2.32 bump
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.31-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Fri Jan 17 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1:2.31-1
- 2.31 bump
* Mon Jan 06 2020 Petr Pisar <ppisar@redhat.com> - 1:2.30-19
- Adjust tests to pass 4-digit years to Time::Local (CPAN RT#124509)
- Modernize a spec file
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.30-18
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1:2.30-17
- Perl 5.30 rebuild
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.30-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.30-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Wed Jun 27 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1:2.30-14
- Perl 5.28 rebuild
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.30-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild