diff --git a/apache-pdfbox.changes b/apache-pdfbox.changes index bd70011..b42a089 100644 --- a/apache-pdfbox.changes +++ b/apache-pdfbox.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue May 15 13:31:52 UTC 2018 - fstrba@suse.com + +- Build with source and target 8 to prepare for a possible removal + of 1.6 compatibility in OpenJDK 11 + ------------------------------------------------------------------- Fri Sep 29 06:42:51 UTC 2017 - fstrba@suse.com diff --git a/apache-pdfbox.spec b/apache-pdfbox.spec index 898dae2..ca6e4b1 100644 --- a/apache-pdfbox.spec +++ b/apache-pdfbox.spec @@ -1,7 +1,7 @@ # # spec file for package apache-pdfbox # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -37,7 +37,7 @@ BuildRequires: apache-commons-logging BuildRequires: bouncycastle BuildRequires: fdupes BuildRequires: icu4j -BuildRequires: java-devel >= 1.6 +BuildRequires: java-devel >= 1.8 BuildRequires: javapackages-local BuildRequires: javapackages-tools BuildRequires: junit @@ -72,7 +72,7 @@ JavaDoc documentation for %{name} ant -buildfile pdfbox/build.xml \ -Dbcprov.jar=$(build-classpath bcprov) -Djunit.jar=$(build-classpath junit4) \ -Dicu4j.jar=$(build-classpath icu4j) -Dlogging.jar=$(build-classpath commons-logging) \ - -Dbuild.sysclasspath=first -Dcompile.source=1.6 -Dcompile.target=1.6 \ + -Dbuild.sysclasspath=first -Dcompile.source=8 -Dcompile.target=8 \ fontbox.package jempbox.package javadoc %install