[itext: 7/7] Change maximum memory for javadoc generation to fix some builds

Stanislav Ochotnicky sochotni at fedoraproject.org
Fri May 4 14:31:40 UTC 2012


commit 0bbbcd075e495ffa05b77d7edf5d0a173bcffee9
Author: Stanislav Ochotnicky <sochotnicky at redhat.com>
Date:   Fri May 4 16:31:07 2012 +0200

    Change maximum memory for javadoc generation to fix some builds

 itext.spec |   19 ++++++++++++-------
 1 files changed, 12 insertions(+), 7 deletions(-)
---
diff --git a/itext.spec b/itext.spec
index f0a3957..a5e2f9a 100644
--- a/itext.spec
+++ b/itext.spec
@@ -4,7 +4,7 @@
 Summary:          A Free Java-PDF library
 Name:             itext
 Version:          2.1.7
-Release:          12%{?dist}
+Release:          13%{?dist}
 License:          (LGPLv2+ or MPLv1.1) and ASL 2.0 and BSD and LGPLv2+
 URL:              http://www.lowagie.com/iText/
 Group:            Development/Libraries
@@ -28,17 +28,17 @@ Patch2:           itext-2.1.7-fixpomforbc.patch
 # an itext1 package, I have forward-ported these classes.  The doxia
 # developers have told me on IRC on 2009-08-27 that the iText dependency
 # will likely be deprecated meaning we won't have to keep these forever.
-# 
+#
 # I've opened a bug with iText:
-# 
-# https://sourceforge.net/tracker/?func=detail&aid=2846427&group_id=15255&atid=365255 
-# 
+#
+# https://sourceforge.net/tracker/?func=detail&aid=2846427&group_id=15255&atid=365255
+#
 # and commented on the Doxia but related to this:
 #
 # http://jira.codehaus.org/browse/DOXIA-53
 #
 # -- Andrew Overholt, 2009-08-28
-# 
+#
 # [1]
 # http://www.1t3xt.com/about/history.php?branch=history.10&node=14
 # [2]
@@ -134,7 +134,7 @@ iText is a free open source Java-PDF library released on SF under the MPL/LGPL;
 iText comes with a simple GUI: the iText toolbox. The original developers of
 iText want to publish this toolbox as a separate project under the more
 permissive MIT license. This is a utility that allows you to use a number of
-iText tools. 
+iText tools.
 
 
 %package javadoc
@@ -185,6 +185,8 @@ sed -i 's|debug="true"||g' src/ant/compile.xml
 
 # Specify encoding, otherwise javadoc blows
 sed -i 's|author|Encoding="ISO-8859-1" author|' src/ant/site.xml
+# and set max memory higher or we run out
+sed -i 's|maxmemory="128m"|maxmemory="512m"|' src/ant/site.xml
 
 %build
 export CLASSPATH=$(build-classpath bcprov bcmail bctsp pdf-renderer dom4j)
@@ -335,6 +337,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 # -----------------------------------------------------------------------------
 
 %changelog
+* Fri May  4 2012 Stanislav Ochotnicky <sochotnicky at redhat.com> - 2.1.7-13
+- Change maximum memory for javadoc generation to fix some builds
+
 * Sun Feb 19 2012 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> 2.1.7-12
 - Separate the gcj bits from the other parts, and make the other parts noarch
 


More information about the scm-commits mailing list