Fix build with JDK-11

This commit is contained in:
Mohamed El Morabity 2020-07-11 10:30:56 +02:00
parent a136ff43c5
commit 9c659f76d1

View File

@ -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 <melmorabity@fedoraproject.org> - 1.3-15
- Fix build with JDK-11
* Fri Jul 10 2020 Jiri Vanek <jvanek@redhat.com> - 1.3-14
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11