Accepting request 650132 from home:thomas-schraitle:branches:Java:packages

- version 2.1
  Change requirement from java-devel-openjdk >= 1.8.0 to
  java-devel-openjdk >= 9 to avoid tracebacks because of compatibility
  issues with java.nio.Buffer, for example:
  java.lang.NoSuchMethodError:
  java.nio.CharBuffer.rewind()Ljava/nio/CharBuffer;

OBS-URL: https://build.opensuse.org/request/show/650132
OBS-URL: https://build.opensuse.org/package/show/Java:packages/xmlgraphics-fop?expand=0&rev=74
This commit is contained in:
Tomáš Chvátal 2018-11-19 11:40:40 +00:00 committed by Git OBS Bridge
parent a4e0c7d729
commit 349ed7962a
3 changed files with 15 additions and 5 deletions

View File

@ -25,7 +25,7 @@ http://maven.apache.org/xsd/maven-4.0.0.xsd">
<artifactId>fop</artifactId>
<packaging>jar</packaging>
<name>Apache FOP</name>
<version>@version@</version>
<version>2.1</version>
<url>http://xmlgraphics.apache.org/fop/</url>
<description>Apache FOP (Formatting Objects Processor) is the world's first print formatter driven by XSL formatting objects (XSL-FO) and the world's first output independent formatter. It is a Java application that reads a formatting object (FO) tree and renders the resulting pages to a specified output. Output formats currently supported include PDF, PCL, PS, AFP, TIFF, PNG, SVG, XML (area tree representation), Print, AWT and TXT. The primary output target is PDF.</description>
<inceptionYear>1999</inceptionYear>

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Thu Nov 15 11:45:21 UTC 2018 - thomas.schraitle@suse.com
- version 2.1
Change requirement from java-devel-openjdk >= 1.8.0 to
java-devel-openjdk >= 9 to avoid tracebacks because of compatibility
issues with java.nio.Buffer, for example:
java.lang.NoSuchMethodError:
java.nio.CharBuffer.rewind()Ljava/nio/CharBuffer;
-------------------------------------------------------------------
Wed Nov 7 20:48:57 UTC 2018 - Fridrich Strba <fstrba@suse.com>

View File

@ -13,7 +13,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
@ -48,7 +48,7 @@ BuildRequires: apache-commons-logging
BuildRequires: apache-pdfbox
BuildRequires: avalon-framework
BuildRequires: docbook-xsl-stylesheets
BuildRequires: java-devel-openjdk >= 1.8.0.121
BuildRequires: java-devel-openjdk >= 9
# Needed for maven conversions
BuildRequires: javapackages-local
BuildRequires: javapackages-tools
@ -64,7 +64,7 @@ Requires: apache-commons-io >= 2.4
Requires: apache-commons-logging
Requires: apache-pdfbox
Requires: avalon-framework
Requires: java >= 1.6.0
Requires: java >= 9
Requires: xml-commons-apis >= 1.3
Requires: xmlgraphics-batik >= 1.8
Requires: xmlgraphics-commons >= 2.1
@ -128,7 +128,7 @@ ln -s $(build-classpath qdox)
popd
export CLASSPATH= LANG=en_US.UTF-8
ant \
-Djavac.source=1.6 -Djavac.target=1.6 \
-Djavac.source=1.8 -Djavac.target=1.8 \
package
# Build the manpage(s) and HTML