commit e2645fc1b5ea269327e100cf448a1905d2d9e89e Author: Paul Howarth <paul@xxxxxxxxxxxx> Date: Wed Jul 20 11:26:24 2011 +0100 Work around MYMETA.yml causing signature test to fail perl-Net-SSH-Perl.spec | 14 +++++++++++++- 1 files changed, 13 insertions(+), 1 deletions(-) --- diff --git a/perl-Net-SSH-Perl.spec b/perl-Net-SSH-Perl.spec index b517e19..5783d87 100644 --- a/perl-Net-SSH-Perl.spec +++ b/perl-Net-SSH-Perl.spec @@ -104,9 +104,20 @@ chmod -R u+w %{buildroot} %check # Critic and POD tests currently fail export GNUPGHOME=$(pwd)/gnupghome -LANG=en_US make -C Net-SSH-Perl-%{version} test \ +cd Net-SSH-Perl-%{version} + +# Signature test would fail on recent distros due to presence of MYMETA.yml +[ -f MYMETA.yml ] && mv MYMETA.yml .. + +# Locale set to en_US for spell check tests +LANG=en_US make test \ TEST_AUTHOR=1 TEST_CRITIC=0 TEST_SIGNATURE=1 TEST_SPELL=1 +# Restore MYMETA.yml if necessary +[ -f ../MYMETA.yml ] && mv ../MYMETA.yml . + +cd - + %clean rm -rf %{buildroot} @@ -119,6 +130,7 @@ rm -rf %{buildroot} %changelog * Wed Jul 20 2011 Paul Howarth <paul@xxxxxxxxxxxx> 1.34-13 - Perl mass rebuild +- Work around MYMETA.yml causing signature test to fail - Use LANG rather than LC_ALL to set locale for spell check test * Thu Jun 23 2011 Paul Howarth <paul@xxxxxxxxxxxx> 1.34-12 -- 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