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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 804c97fc7be4984b7e1b92beb58f859cf10f9eb9
Author: Paul Howarth <paul@xxxxxxxxxxxx>
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@xxxxxxxxxxxx> 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
 
--
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


[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux