diff --git a/apache-commons-logging.spec b/apache-commons-logging.spec index a498471..4134b62 100644 --- a/apache-commons-logging.spec +++ b/apache-commons-logging.spec @@ -2,7 +2,7 @@ Name: apache-commons-logging Version: 1.2 -Release: 20%{?dist} +Release: 21%{?dist} Summary: Apache Commons Logging License: ASL 2.0 URL: http://commons.apache.org/logging @@ -72,7 +72,7 @@ sed -i 's/\r//' RELEASE-NOTES.txt LICENSE.txt NOTICE.txt rm -rf src/test/java/org/apache/commons/logging/log4j/log4j12 %build -%mvn_build -- -Dcommons.osgi.symbolicName=org.apache.commons.logging +%mvn_build -- -Dcommons.osgi.symbolicName=org.apache.commons.logging -Dmaven.compiler.source=1.8 -Dmaven.compiler.target=1.8 # The build produces more artifacts from one pom %mvn_artifact %{SOURCE2} target/commons-logging-%{version}-api.jar @@ -86,6 +86,9 @@ rm -rf src/test/java/org/apache/commons/logging/log4j/log4j12 %doc PROPOSAL.html RELEASE-NOTES.txt %changelog +* Thu Jun 04 2020 Fabio Valentini - 1.2-21 +- Override javac source and target versions to fix builds with Java 11. + * Tue Jan 28 2020 Fedora Release Engineering - 1.2-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild