diff --git a/jakarta-activation.spec b/jakarta-activation.spec index a8ef9dd..74ce94e 100644 --- a/jakarta-activation.spec +++ b/jakarta-activation.spec @@ -2,7 +2,7 @@ Name: jakarta-activation Version: 1.2.1 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Jakarta Activation Specification and Implementation License: BSD @@ -56,9 +56,12 @@ This package contains javadoc for %{name}. # (the plugin is only used to strip off -SNAPSHOT or -Mx qualifiers) sed -i "s/\${activation.osgiversion}/%{version}/g" activation/pom.xml +# remove maven-compiler-plugin configurations that are broken with Java 11 +%pom_remove_plugin -r :maven-compiler-plugin + %build -%mvn_build +%mvn_build -- -Dmaven.compiler.source=1.8 -Dmaven.compiler.target=1.8 %install @@ -74,6 +77,9 @@ sed -i "s/\${activation.osgiversion}/%{version}/g" activation/pom.xml %changelog +* Wed Jul 29 2020 Fabio Valentini - 1.2.1-7 +- Override javac source / target versions with 1.8 to fix build with Java 11. + * Tue Jul 28 2020 Fedora Release Engineering - 1.2.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild