diff --git a/apache-commons-jxpath.changes b/apache-commons-jxpath.changes index 48bd278..d9f3cf4 100644 --- a/apache-commons-jxpath.changes +++ b/apache-commons-jxpath.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue May 15 10:47:35 UTC 2018 - fstrba@suse.com + +- Build with source and target 8 + ------------------------------------------------------------------- Sun May 21 07:54:40 UTC 2017 - tchvatal@suse.com diff --git a/apache-commons-jxpath.spec b/apache-commons-jxpath.spec index 2a6c8a4..e5d7cb1 100644 --- a/apache-commons-jxpath.spec +++ b/apache-commons-jxpath.spec @@ -1,7 +1,7 @@ # # spec file for package apache-commons-jxpath # -# 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 @@ -32,6 +32,7 @@ Patch1: build.xml.patch BuildRequires: ant BuildRequires: apache-commons-beanutils BuildRequires: el_api >= 3.0 +BuildRequires: java-devel >= 1.8 BuildRequires: javapackages-tools BuildRequires: jdom BuildRequires: jsp @@ -39,7 +40,7 @@ BuildRequires: junit BuildRequires: servlet >= 3.0 Requires: apache-commons-beanutils Requires: apache-commons-logging -Requires: java >= 1.6.0 +Requires: java >= 1.8 Requires: jdom >= 1.0 Provides: jakarta-%{short_name} = %{version}-%{release} Obsoletes: jakarta-%{short_name} < %{version}-%{release} @@ -66,6 +67,7 @@ export CLASSPATH=$(build-classpath \ target/commons-jxpath.jar \ ):target/classes:target/test-classes ant -Dmaven.mode.offline=true jar \ + -Dant.build.javac.source=8 -Dant.build.javac.target=8 \ -lib %{_datadir}/java %install