From 349ed7962a86755c33a06f75fe972a1c333c3ae771258ef897f33a1f5c3ce231 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 19 Nov 2018 11:40:40 +0000 Subject: [PATCH] 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 --- xmlgraphics-fop-pom-template.pom | 2 +- xmlgraphics-fop.changes | 10 ++++++++++ xmlgraphics-fop.spec | 8 ++++---- 3 files changed, 15 insertions(+), 5 deletions(-) diff --git a/xmlgraphics-fop-pom-template.pom b/xmlgraphics-fop-pom-template.pom index 381e368..4a7ee6f 100644 --- a/xmlgraphics-fop-pom-template.pom +++ b/xmlgraphics-fop-pom-template.pom @@ -25,7 +25,7 @@ http://maven.apache.org/xsd/maven-4.0.0.xsd"> fop jar Apache FOP - @version@ + 2.1 http://xmlgraphics.apache.org/fop/ 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. 1999 diff --git a/xmlgraphics-fop.changes b/xmlgraphics-fop.changes index f26fb57..b0417de 100644 --- a/xmlgraphics-fop.changes +++ b/xmlgraphics-fop.changes @@ -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 diff --git a/xmlgraphics-fop.spec b/xmlgraphics-fop.spec index 1f1fde0..dd936ec 100644 --- a/xmlgraphics-fop.spec +++ b/xmlgraphics-fop.spec @@ -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