diff --git a/perl.changes b/perl.changes index 7b5da93..d692ffe 100644 --- a/perl.changes +++ b/perl.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu Aug 8 14:51:42 UTC 2013 - dvaleev@suse.com + +- skip itimer test from Timer-HiRes for powerpc. Build hosts + are overloaded, building locally shows tests are passed + (skip_time_hires.patch) + ------------------------------------------------------------------- Fri Jun 14 22:51:27 UTC 2013 - jengelh@inai.de diff --git a/perl.spec b/perl.spec index f4bc92c..bb9b159 100644 --- a/perl.spec +++ b/perl.spec @@ -38,6 +38,7 @@ Patch4: perl-netcmdutf8.diff Patch5: perl-HiRes.t-timeout.diff Patch6: perl-saverecontext.diff Patch7: perl-db6.diff +Patch8: skip_time_hires.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build PreReq: perl-base = %version #PreReq: %fillup_prereq @@ -165,6 +166,9 @@ cp -p %{S:3} . %patch5 %patch6 %patch -P 7 -p1 +%ifarch ppc ppc64 +%patch8 -p1 +%endif %build cp -a lib savelib diff --git a/skip_time_hires.patch b/skip_time_hires.patch new file mode 100644 index 0000000..44a5a96 --- /dev/null +++ b/skip_time_hires.patch @@ -0,0 +1,12 @@ +Index: perl-5.18.0/cpan/Time-HiRes/t/itimer.t +=================================================================== +--- perl-5.18.0.orig/cpan/Time-HiRes/t/itimer.t ++++ perl-5.18.0/cpan/Time-HiRes/t/itimer.t +@@ -1,5 +1,7 @@ + use strict; + ++use Test::More skip_all => "ppc workers are too busy"; ++ + sub has_symbol { + my $symbol = shift; + eval "use Time::HiRes qw($symbol)";