commit 1c8df0d95a0b06d4252ce9c2db43eece2d589ff7 Author: Petr Písař <ppisar@xxxxxxxxxx> Date: Thu Aug 1 09:56:19 2013 +0200 Disable tests failing due to hash randomization ...ks-in-html-tests-break-on-hash-reordering.patch | 32 ++++++++++++++++++++ perl-CGI-Application-Plugin-Authentication.spec | 4 ++ 2 files changed, 36 insertions(+), 0 deletions(-) --- diff --git a/CGI-Application-Plugin-Authentication-0.20-links-in-html-tests-break-on-hash-reordering.patch b/CGI-Application-Plugin-Authentication-0.20-links-in-html-tests-break-on-hash-reordering.patch new file mode 100644 index 0000000..46dab00 --- /dev/null +++ b/CGI-Application-Plugin-Authentication-0.20-links-in-html-tests-break-on-hash-reordering.patch @@ -0,0 +1,32 @@ +From ccee0f60b215ba042e4f683731685aab8571e1fb Mon Sep 17 00:00:00 2001 +From: Arthur Axel 'fREW' Schmidt <frioux@xxxxxxxxx> +Date: Tue, 23 Jul 2013 14:42:38 -0500 +Subject: [PATCH] links in html tests break on hash reordering +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + + +Signed-off-by: Petr Písař <ppisar@xxxxxxxxxx> +--- + t/03_login_box.t | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/t/03_login_box.t b/t/03_login_box.t +index 2e4742b..b487cf6 100644 +--- a/t/03_login_box.t ++++ b/t/03_login_box.t +@@ -4,6 +4,10 @@ use Test::Taint; + use Test::Regression; + use English qw(-no_match_vars); + ++if ($^V >= v5.18.0) { ++ plan skip_all => 'These tests fail for 5.18.0'; ++ exit(0); ++} + if ($OSNAME eq 'MSWin32') { + my $msg = 'Not running these tests on windows yet'; + plan skip_all => $msg; +-- +1.8.1.4 + diff --git a/perl-CGI-Application-Plugin-Authentication.spec b/perl-CGI-Application-Plugin-Authentication.spec index daf1dbb..663bf0d 100644 --- a/perl-CGI-Application-Plugin-Authentication.spec +++ b/perl-CGI-Application-Plugin-Authentication.spec @@ -6,6 +6,8 @@ License: GPL+ or Artistic URL: http://search.cpan.org/dist/CGI-Application-Plugin-Authentication/ Source0: http://www.cpan.org/authors/id/S/SI/SILASMONK/CGI-Application-Plugin-Authentication-%{version}.tar.gz +# Disable tests failing due to hash randomization, CPAN RT#85969 +Patch0: CGI-Application-Plugin-Authentication-0.20-links-in-html-tests-break-on-hash-reordering.patch BuildArch: noarch BuildRequires: perl(Apache::Htpasswd) @@ -46,6 +48,7 @@ CGI::Application::Plugin::Authentication plugin. %prep %setup -q -n CGI-Application-Plugin-Authentication-%{version} +%patch0 -p1 %build %{__perl} Build.PL installdirs=vendor @@ -68,6 +71,7 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %changelog * Thu Aug 01 2013 Petr Pisar <ppisar@xxxxxxxxxx> - 0.20-8 - Perl 5.18 rebuild +- Disable tests failing due to hash randomization (CPAN RT#85969) * Sun Feb 17 2013 Emmanuel Seyman <emmanuel@xxxxxxxxx> - 0.20-7 - Replace perl(Digest::SHA1) with perl(Digest::SHA) in BuildRequires -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel