From 9c659f76d1ac1538009ee31e87d5e0edab07c710 Mon Sep 17 00:00:00 2001 From: Mohamed El Morabity Date: Sat, 11 Jul 2020 10:30:56 +0200 Subject: [PATCH] Fix build with JDK-11 --- apache-commons-exec.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/apache-commons-exec.spec b/apache-commons-exec.spec index 37274cf..6967f94 100644 --- a/apache-commons-exec.spec +++ b/apache-commons-exec.spec @@ -3,7 +3,7 @@ Name: apache-commons-exec Version: 1.3 -Release: 14%{?dist} +Release: 15%{?dist} Summary: Java library to reliably execute external processes from within the JVM License: ASL 2.0 URL: http://commons.apache.org/exec/ @@ -48,6 +48,9 @@ chmod a+x src/test/scripts/*.sh # Skip Exec57Test (it is unstable), see rhbz#1202260 find -name Exec57Test.java -delete +%pom_xpath_set pom:properties/pom:maven.compiler.source 6 +%pom_xpath_set pom:properties/pom:maven.compiler.target 6 + %mvn_file :%{short_name} %{short_name} %{name} @@ -66,6 +69,9 @@ find -name Exec57Test.java -delete %license LICENSE.txt NOTICE.txt %changelog +* Sat Jul 11 2020 Mohamed El Morabity - 1.3-15 +- Fix build with JDK-11 + * Fri Jul 10 2020 Jiri Vanek - 1.3-14 - Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11