[perl-Math-GMP] Work around MYMETA.yml causing signature test to fail

Paul Howarth pghmcfc at fedoraproject.org
Wed Jul 20 09:01:38 UTC 2011


commit 804c97fc7be4984b7e1b92beb58f859cf10f9eb9
Author: Paul Howarth <paul at city-fan.org>
Date:   Wed Jul 20 09:58:17 2011 +0100

    Work around MYMETA.yml causing signature test to fail

 perl-Math-GMP.spec |   13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)
---
diff --git a/perl-Math-GMP.spec b/perl-Math-GMP.spec
index c04ba0b..17ae2c4 100644
--- a/perl-Math-GMP.spec
+++ b/perl-Math-GMP.spec
@@ -70,8 +70,18 @@ chmod -R u+w %{buildroot}
 
 %check
 export GNUPGHOME=$(pwd)/gnupghome
+cd Math-GMP-%{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 -C Math-GMP-%{version} test RELEASE_TESTING=1 TEST_VERBOSE=1
+LANG=en_US make test RELEASE_TESTING=1 TEST_VERBOSE=1
+
+# Restore MYMETA.yml if necessary
+[ -f ../MYMETA.yml ] && mv ../MYMETA.yml .
+
+cd -
 
 %clean
 rm -rf %{buildroot}
@@ -86,6 +96,7 @@ rm -rf %{buildroot}
 %changelog
 * Wed Jul 20 2011 Paul Howarth <paul at city-fan.org> 2.06-8
 - 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
 - Nobody else likes macros for commands
 


More information about the scm-commits mailing list