[perl-Net-SSH-Perl] Work around MYMETA.yml causing signature test to fail
Paul Howarth
pghmcfc at fedoraproject.org
Wed Jul 20 10:29:57 UTC 2011
commit e2645fc1b5ea269327e100cf448a1905d2d9e89e
Author: Paul Howarth <paul at city-fan.org>
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 at city-fan.org> 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 at city-fan.org> 1.34-12
More information about the scm-commits
mailing list