diff --git a/xalan-j2.spec b/xalan-j2.spec index 084f746..78111c8 100644 --- a/xalan-j2.spec +++ b/xalan-j2.spec @@ -12,6 +12,7 @@ Source0: http://www.apache.org/dist/xml/xalan-j/source/xalan-j_%{cvs_vers Patch0: %{name}-noxsltcdeps.patch Patch1: %{name}-manifest.patch Patch2: %{name}-crosslink.patch +Patch3: %{name}-bz130162.patch URL: http://xml.apache.org/xalan-j/ Group: Text Processing/Markup/XML #Vendor: JPackage Project @@ -78,6 +79,10 @@ find . -name "*.jar" \ ! -name xalan2jdoc.jar \ ! -name stylebook-1.0-b3_xalan-2.jar \ -exec rm -f {} \; +# Don't unzip stuff (#130162: gunzip task fails in libgcj) +if java -version 2>&1 | grep -q "gcj"; then +%patch3 -p1 +fi %build if [ ! -e "$JAVA_HOME" ] ; then export JAVA_HOME="%{java_home}" ; fi @@ -188,7 +193,6 @@ ln -s %{name}-%{version} %{_javadocdir}/%{name} %changelog * Wed Jan 12 2005 Gary Benson 0:2.6.0-2jpp_1fc -- Remove workaround for broken gunzip task (#130162). - Sync with RHAPS. * Mon Nov 15 2004 Fernando Nasser 0:2.6.0-2jpp_1rh