diff --git a/apache-commons-exec.spec b/apache-commons-exec.spec index 0783b8d..9919aab 100644 --- a/apache-commons-exec.spec +++ b/apache-commons-exec.spec @@ -3,7 +3,7 @@ Name: apache-commons-exec Version: 1.3 -Release: 21%{?dist} +Release: 22%{?dist} Summary: Java library to reliably execute external processes from within the JVM License: ASL 2.0 URL: http://commons.apache.org/exec/ @@ -48,18 +48,17 @@ 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} %build -%mvn_build -- -Dcommons.osgi.symbolicName=org.apache.commons.exec +%mvn_build -- -Dcommons.osgi.symbolicName=org.apache.commons.exec -Dmaven.compiler.source=1.8 -Dmaven.compiler.target=1.8 + %install %mvn_install + %files -f .mfiles %license LICENSE.txt NOTICE.txt %doc STATUS RELEASE-NOTES.txt @@ -68,7 +67,11 @@ find -name Exec57Test.java -delete %files javadoc -f .mfiles-javadoc %license LICENSE.txt NOTICE.txt + %changelog +* Sun Feb 06 2022 Mohamed El Morabity - 1.3-22 +- Fix build with JDK 17 + * Sat Feb 05 2022 Jiri Vanek - 1.3-21 - Rebuilt for java-17-openjdk as system jdk