From 30577fc2188ca09c595597af73cf609f2b3d9663 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20Hor=C3=A1k?= Date: Thu, 20 Nov 2014 09:06:51 +0100 Subject: [PATCH] - Don't override Java memory settings on s390 (related to bug #1115920) --- vtk.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/vtk.spec b/vtk.spec index c58c190..b8a9f6a 100644 --- a/vtk.spec +++ b/vtk.spec @@ -9,7 +9,7 @@ Summary: The Visualization Toolkit - A high level 3D visualization library Name: vtk Version: 6.1.0 -Release: 17%{?dist} +Release: 18%{?dist} # This is a variant BSD license, a cross between BSD and ZLIB. # For all intents, it has the same rights and restrictions as BSD. # http://fedoraproject.org/wiki/Licensing/BSD#VTKBSDVariant @@ -204,8 +204,10 @@ export CXXFLAGS="%{optflags} -D_UNICODE" export JAVA_HOME=/usr/lib/jvm/java # Arm/Aarch64 builders have less ram # https://bugzilla.redhat.com/show_bug.cgi?id=1115920 +%ifnarch s390 export JAVA_TOOL_OPTIONS=-Xmx2048m %endif +%endif mkdir build pushd build @@ -447,6 +449,9 @@ cp -pr --parents Wrapping/*/README* _docs/ %doc vtk-examples/Examples %changelog +* Thu Nov 20 2014 Dan HorĂ¡k - 6.1.0-18 +- Don't override Java memory settings on s390 (related to bug #1115920) + * Wed Nov 19 2014 Orion Poplawski - 6.1.0-17 - Add patch to fix compilation with mesa 10.4 (bug #1138466)