[perl-XML-LibXML] - disable tests on ppc as most ppc buildmachines have only 2Gb and the tests run out of memory

Karsten Hopp karsten at fedoraproject.org
Tue Dec 20 22:10:10 UTC 2011


commit 7a3f7030d923148a5b259c7c1252966a9a6dffb1
Author: Karsten Hopp <karsten at redhat.com>
Date:   Tue Dec 20 23:12:08 2011 +0100

    - disable tests on ppc as most ppc buildmachines have only 2Gb
      and the tests run out of memory

 perl-XML-LibXML.spec |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/perl-XML-LibXML.spec b/perl-XML-LibXML.spec
index fb61d04..61862d1 100644
--- a/perl-XML-LibXML.spec
+++ b/perl-XML-LibXML.spec
@@ -4,7 +4,7 @@ Name:           perl-XML-LibXML
 # it might not be needed anymore
 # this module is maintained, the other is not
 Version:        1.88
-Release:        1%{?dist}
+Release:        2%{?dist}
 Epoch:          1
 Summary:        Perl interface to the libxml2 library
 
@@ -48,7 +48,10 @@ find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} ';' 2>/dev/null
 chmod -R u+w $RPM_BUILD_ROOT/*
 
 %check
+# ppc buildmachines have only 2GB, tests run out of memory
+%ifnarch ppc64
 make test
+%endif
 
 %triggerin -- perl-XML-SAX
 for p in XML::LibXML::SAX::Parser XML::LibXML::SAX ; do
@@ -71,6 +74,11 @@ fi
 %{_mandir}/man3/*.3*
 
 %changelog
+* Tue Dec 20 2011 Karsten Hopp <karsten at redhat.com> 1.88-2
+- disable tests on ppc as most ppc buildmachines have only 2Gb 
+  and the tests run out of memory
+
+
 * Sun Oct  2 2011 Tom Callaway <spot at fedoraproject.org> - 1:1.88-1
 - update to 1.88
 


More information about the scm-commits mailing list