[poco] build without tests on s390

Dan Horák sharkcz at fedoraproject.org
Sun Dec 18 21:16:18 UTC 2011


commit 5dfbe647076040ad11976ccd1a2d033f65daade2
Author: Dan Horák <dan at danny.cz>
Date:   Sun Dec 18 22:16:17 2011 +0100

    build without tests on s390

 poco.spec |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/poco.spec b/poco.spec
index c3fd4b9..8da724c 100644
--- a/poco.spec
+++ b/poco.spec
@@ -1,9 +1,14 @@
 
 %global poco_src_version 1.4.2p1
 %global poco_doc_version 1.4.2p1
-%global poco_rpm_release 1
+%global poco_rpm_release 2
 
+# build without tests on s390 (runs out of memory during linking due the 2 GB address space)
+%ifnarch s390
 %bcond_without tests
+%else
+%bcond_with tests
+%endif
 %bcond_without samples
 
 Name:             poco
@@ -408,6 +413,9 @@ HTML format.
 %doc poco-%{poco_doc_version}-all-doc/*
 
 %changelog
+* Sun Dec 18 2011 Dan Horák <dan at danny.cz> - 1.4.p1-2
+- build without tests on s390
+
 * Wed Sep 28 2011 Maxim Udushlivy <udushlivy at mail.ru> - 1.4.2p1-1
 - Updated for POCO 1.4.2p1. Obsoleted .spec directives were removed.
 


More information about the scm-commits mailing list