#6 0.005 bump
Merged a year ago by mspacek. Opened a year ago by mspacek.
rpms/ mspacek/perl-Perl4-CoreLibs f36  into  f36

file modified
+1
@@ -1,2 +1,3 @@ 

  /Perl4-CoreLibs-0.003.tar.gz

  /Perl4-CoreLibs-0.004.tar.gz

+ /Perl4-CoreLibs-0.005.tar.gz

@@ -1,36 +0,0 @@ 

- Description: turn the y2k20 into a y2k40 problem, or fix test failures starting in 2020

-  t/timelocal.t fails with

- 	not ok 31 - timelocal year for 1970 1 2 0 0 0

- 	#   Failed test 'timelocal year for 1970 1 2 0 0 0'

- 	#   at t/timelocal.t line 36.

- 	#          got: '170'

- 	#     expected: '70'

- 	not ok 37 - timegm year for 1970 1 2 0 0 0

- 	#   Failed test 'timegm year for 1970 1 2 0 0 0'

- 	#   at t/timelocal.t line 49.

- 	#          got: '170'

- 	#     expected: '70'

- Origin: vendor

- Author: gregor herrmann <gregoa@debian.org>

- Last-Update: 2020-01-03

- 

- --- a/t/timelocal.t

- +++ b/t/timelocal.t

- @@ -25,7 +25,7 @@

-  

-  	# Test timelocal()

-  	{

- -		my $year_in = $year < 70 ? $year + 1900 : $year;

- +		my $year_in = $year < 90 ? $year + 1900 : $year;

-  		my $time = &timelocal($sec,$min,$hour,$mday,$mon,$year_in);

-  		my($s,$m,$h,$D,$M,$Y) = localtime($time);

-  		is $s, $sec, "timelocal second for @$_";

- @@ -38,7 +38,7 @@

-  

-  	# Test timegm()

-  	{

- -		my $year_in = $year < 70 ? $year + 1900 : $year;

- +		my $year_in = $year < 90 ? $year + 1900 : $year;

-  		my $time = &timegm($sec,$min,$hour,$mday,$mon,$year_in);

-  		my($s,$m,$h,$D,$M,$Y) = gmtime($time);

-  		is $s, $sec, "timegm second for @$_";

file modified
+10 -5
@@ -1,14 +1,14 @@ 

  Name:           perl-Perl4-CoreLibs

- Version:        0.004

- Release:        16%{?dist}

+ Version:        0.005

+ Release:        1%{?dist}

  Summary:        Libraries historically supplied with Perl 4

  License:        GPL+ or Artistic

  URL:            https://metacpan.org/release/Perl4-CoreLibs

  Source0:        https://cpan.metacpan.org/authors/id/Z/ZE/ZEFRAM/Perl4-CoreLibs-%{version}.tar.gz

- # Adjust tests to pass 4-digit years to Time::Local, CPAN RT#131341

- Patch0:         Perl4-CoreLibs-0.004-y2k20.patch

  BuildArch:      noarch

  BuildRequires:  coreutils

+ # Call in chat2.pl

+ BuildRequires:  hostname

  BuildRequires:  perl-generators

  BuildRequires:  perl-interpreter

  BuildRequires:  perl(:VERSION) >= 5.6
@@ -22,6 +22,7 @@ 

  BuildRequires:  perl(IPC::Open3)

  # Prefer Socket over socket.ph

  # Socket not used at tests

+ BuildRequires:  perl(Sys::Syslog) => 0.19

  BuildRequires:  perl(Text::ParseWords) >= 3.25

  BuildRequires:  perl(Time::Local)

  # warnings::register not used at tests
@@ -30,11 +31,13 @@ 

  BuildRequires:  perl(IO::Handle)

  BuildRequires:  perl(newgetopt.pl)

  BuildRequires:  perl(Test::More)

+ Requires:       hostname

  Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))

  Requires:       perl(File::Find)

  Requires:       perl(IPC::Open2)

  Requires:       perl(IPC::Open3)

  Requires:       perl(Socket)

+ Requires:       perl(Sys::Syslog) => 0.19

  Requires:       perl(Text::ParseWords) >= 3.25

  Requires:       perl(Time::Local)

  Requires:       perl(warnings::register)
@@ -82,7 +85,6 @@ 

  

  %prep

  %setup -q -n Perl4-CoreLibs-%{version}

- %patch0 -p1

  # newgetopt.pl is distributed by Getopt-Long, CPAN RT#102212

  rm lib/newgetopt.pl

  sed -i -e '/^lib\/newgetopt\.pl/d' MANIFEST
@@ -104,6 +106,9 @@ 

  %{_mandir}/man3/*

  

  %changelog

+ * Tue Mar 14 2023 Michal Josef Špaček <mspacek@redhat.com> - 0.005-1

+ - 0.005 bump

+ 

  * Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.004-16

  - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild

  

file modified
+1 -1
@@ -1,1 +1,1 @@ 

- SHA512 (Perl4-CoreLibs-0.004.tar.gz) = 71083f1640e95559ee4bc5a7f1bbe6beacec048a073e211ab7f6ee4de26463f6ae3d87e99e00a41ea8f2f93a5e96367bafe907ef3367e400de35123c22eb7b88

+ SHA512 (Perl4-CoreLibs-0.005.tar.gz) = 87e4c153f2fead9eae9ea338b965294d8a2a1b0b5c6a25c7a4b18cab049526c26efaa7bb99f264e025d4a2893165b5960a6bff83c18f50af2106174b5b344981

no initial comment

Pull-Request has been merged by mspacek

a year ago