From 40de04f092674f76dc180ecaa461862741238c9c Mon Sep 17 00:00:00 2001 From: Robin Norwood Date: May 07 2007 17:13:42 +0000 Subject: disable test_hosts because the tests fail in mock buildroots. --- diff --git a/perl-5.8.8-disable_test_hosts.patch b/perl-5.8.8-disable_test_hosts.patch new file mode 100644 index 0000000..c88babb --- /dev/null +++ b/perl-5.8.8-disable_test_hosts.patch @@ -0,0 +1,11 @@ +--- perl-5.8.8/lib/Net/Config.pm.orig 2007-05-07 12:35:45.000000000 -0400 ++++ perl-5.8.8/lib/Net/Config.pm 2007-05-07 12:40:56.000000000 -0400 +@@ -29,7 +29,7 @@ + ftp_firewall => undef, + ftp_ext_passive => 0, + ftp_int_passive => 0, +- test_hosts => 1, ++ test_hosts => 0, + test_exist => 1, + ); + diff --git a/perl.spec b/perl.spec index 1730635..bd2c1f0 100644 --- a/perl.spec +++ b/perl.spec @@ -108,8 +108,10 @@ Patch36: perl-5.8.8-U34297_C28006.patch Patch37: perl-5.8.8-useCFLAGSwithCC.patch # Upstream bug 39903 Patch38: perl-5.8.8-bz199736.patch +# Disable test_hosts because some tests fail in mock buildroots +Patch39: perl-5.8.8-disable_test_hosts.patch # XXX: Fixme - Finish patch. -Patch39: perl-5.8.8-bz204679.patch +#Patch39: perl-5.8.8-bz204679.patch BuildRoot: %{_tmppath}/%{name}-%{perl_version}-%{release}-root-%(%{__id_u} -n) BuildRequires: tcsh, dos2unix, man, groff BuildRequires: gdbm-devel, db4-devel @@ -323,6 +325,7 @@ Basic utilities for writing tests. %patch36 -p1 %patch37 -p1 %patch38 -p1 +%patch39 -p1 # # Candidates for doc recoding (need case by case review): # find . -name "*.pod" -o -name "README*" -o -name "*.pm" | xargs file -i | grep charset= | grep -v '\(us-ascii\|utf-8\)' @@ -721,6 +724,7 @@ make test - Further split out development related perl modules. - Remove Requires: perl-devel from perl - Move libperl.so -> perl-libs +- Patch39 to disable test_hosts in Net::Config * Fri Mar 9 2007 Robin Norwood - 4:5.8.8-15 - Incorporate fixes from spot and others on fedora-perl-devel