Compare commits
No commits in common. "c8" and "5562257369742e7f45c74e82128f478cb16c56b1" have entirely different histories.
c8
...
5562257369
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
||||
SOURCES/Test-Unit-0.25.tar.gz
|
||||
Test-Unit-0.25.tar.gz
|
||||
|
@ -1 +1 @@
|
||||
07f6d020f3e987de573625202b460cc8170c80fa SOURCES/Test-Unit-0.25.tar.gz
|
||||
07f6d020f3e987de573625202b460cc8170c80fa Test-Unit-0.25.tar.gz
|
||||
|
58
Test-Unit-0.25-Adapt-tests-to-Perl-5.30.patch
Normal file
58
Test-Unit-0.25-Adapt-tests-to-Perl-5.30.patch
Normal file
@ -0,0 +1,58 @@
|
||||
From 9ac12f1967e091b504ac426a70fb41af0d9d44c2 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
|
||||
Date: Mon, 3 Jun 2019 15:43:31 +0200
|
||||
Subject: [PATCH] Adapt tests to Perl 5.30
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Perl started to understand a numerical value of hexadecimal strings
|
||||
like '0xF'. This happens since Perl commit:
|
||||
|
||||
commit ce6f496d720f6206455628425320badd95b07372 (HEAD, refs/bisect/bad)
|
||||
Author: sisyphus <sisyphus1@optusnet.com.au>
|
||||
Date: Wed Aug 1 22:33:38 2018 +1000
|
||||
|
||||
PATCH: [perl #41202] text->float gives wrong answer
|
||||
|
||||
This changes to use Perl_strtod() when available, and that turns out to
|
||||
be the key to fixing this bug.
|
||||
|
||||
S_mulexp10() is removed from embed.fnc to avoid repeating the
|
||||
complicated prerequisites for defining Perl_strtod(). This works
|
||||
because this static function already was defined before use in
|
||||
numeric.c, and always called in full form without using a macro.
|
||||
|
||||
James Keenan fixed a file permissions problem originally introduced by
|
||||
this commit, but the fix has been squashed into it.
|
||||
|
||||
But it was recognized as a bug and the behavior was restored with:
|
||||
|
||||
commit 14d26b44a1d7eee67837ec0ea8fb0368ac6fe33e
|
||||
Author: Tony Cook <tony@develop-help.com>
|
||||
Date: Tue Aug 20 15:43:05 2019 +1000
|
||||
|
||||
(perl #134230) don't interpret 0x, 0b when numifying strings
|
||||
|
||||
Petr Písař: And we ported it to 5.30.0.
|
||||
|
||||
---
|
||||
t/tlib/AssertTest.pm | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/t/tlib/AssertTest.pm b/t/tlib/AssertTest.pm
|
||||
index 42fa860..d58890c 100644
|
||||
--- a/t/tlib/AssertTest.pm
|
||||
+++ b/t/tlib/AssertTest.pm
|
||||
@@ -34,7 +34,7 @@ sub test_numericness {
|
||||
my %tests =
|
||||
( 1 => 't',
|
||||
0 => 't',
|
||||
- '0xF00' => 'f', # controversial? but if you +=10 then it's == 10
|
||||
+ '0xF00' => ($] gt '5.029001' && $] lt '5.030000') ? 't' : 'f',
|
||||
'15e7' => 't',
|
||||
'15E7' => 't',
|
||||
"not 0" => 'f',
|
||||
--
|
||||
2.21.0
|
||||
|
@ -1,34 +1,49 @@
|
||||
Name: perl-Test-Unit
|
||||
Version: 0.25
|
||||
Release: 28%{?dist}
|
||||
Release: 42%{?dist}
|
||||
Summary: The PerlUnit testing framework
|
||||
|
||||
Group: Development/Libraries
|
||||
License: GPL+ or Artistic
|
||||
URL: http://perlunit.sourceforge.net/
|
||||
Source0: http://search.cpan.org/CPAN/authors/id/M/MC/MCAST/Test-Unit-%{version}.tar.gz
|
||||
Source0: https://cpan.metacpan.org/authors/id/M/MC/MCAST/Test-Unit-%{version}.tar.gz
|
||||
# https://rt.cpan.org/Public/Bug/Display.html?id=69025
|
||||
Patch0: tests5.14.patch
|
||||
# https://rt.cpan.org/Public/Bug/Display.html?id=77779
|
||||
Patch1: perl5.16.patch
|
||||
# Fix random test failures with perl 5.18, bug #1104134, CPAN RT#87017
|
||||
Patch2: Test-Unit-0.25-Accept-all-family-differences-in-the-AssertTest-test.patch
|
||||
# Adapt tests to Perl 5.30, bugs #1716422, #1749253, CPAN RT#129738
|
||||
Patch3: Test-Unit-0.25-Adapt-tests-to-Perl-5.30.patch
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: coreutils
|
||||
BuildRequires: findutils
|
||||
BuildRequires: make
|
||||
BuildRequires: perl-generators
|
||||
BuildRequires: perl-interpreter
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: perl(base)
|
||||
BuildRequires: perl(Carp)
|
||||
BuildRequires: perl(Class::Inner)
|
||||
BuildRequires: perl(Config)
|
||||
BuildRequires: perl(constant)
|
||||
BuildRequires: perl(Data::Dumper)
|
||||
BuildRequires: perl(Devel::Symdump)
|
||||
BuildRequires: perl(Error)
|
||||
BuildRequires: perl(Exporter)
|
||||
BuildRequires: perl(File::Basename)
|
||||
BuildRequires: perl(FileHandle)
|
||||
BuildRequires: perl(lib)
|
||||
BuildRequires: perl(overload)
|
||||
BuildRequires: perl(strict)
|
||||
BuildRequires: perl(Test)
|
||||
BuildRequires: perl(Tk)
|
||||
BuildRequires: perl(Tk::Canvas)
|
||||
BuildRequires: perl(Tk::Derived)
|
||||
BuildRequires: perl(Tk::DialogBox)
|
||||
BuildRequires: perl(Tk::ROText)
|
||||
BuildRequires: perl(vars)
|
||||
BuildRequires: perl(warnings)
|
||||
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
|
||||
@ -47,6 +62,7 @@ Gamma.
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
%patch3 -p1
|
||||
sed -i 's/\r//' examples/Experimental/Sample.pm
|
||||
chmod a+x TkTestRunner.pl TestRunner.pl
|
||||
|
||||
@ -56,7 +72,7 @@ make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
||||
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
||||
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
||||
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
|
||||
chmod -R u+w $RPM_BUILD_ROOT/*
|
||||
@ -73,6 +89,49 @@ make test
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.25-42
|
||||
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
||||
Related: rhbz#1991688
|
||||
|
||||
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.25-41
|
||||
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
||||
|
||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.25-40
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.25-39
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Thu Jun 25 2020 Jitka Plesnikova <jplesnik@redhat.com> - 0.25-38
|
||||
- Perl 5.32 rebuild
|
||||
|
||||
* Tue Mar 17 2020 Jitka Plesnikova <jplesnik@redhat.com> - 0.25-37
|
||||
- Specify all dependencies
|
||||
|
||||
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.25-36
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Thu Sep 05 2019 Petr Pisar <ppisar@redhat.com> - 0.25-35
|
||||
- Adapt tests to changed Perl 5.30 (bug #1749253)
|
||||
|
||||
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.25-34
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Mon Jun 03 2019 Petr Pisar <ppisar@redhat.com> - 0.25-33
|
||||
- Adapt tests to Perl 5.30 (bug #1716422)
|
||||
|
||||
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.25-32
|
||||
- Perl 5.30 rebuild
|
||||
|
||||
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.25-31
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.25-30
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.25-29
|
||||
- Perl 5.28 rebuild
|
||||
|
||||
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.25-28
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
Loading…
Reference in New Issue
Block a user