diff --git a/commonmark-java.changes b/commonmark-java.changes index 15b1ee6..f4ed479 100644 --- a/commonmark-java.changes +++ b/commonmark-java.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Oct 26 03:06:11 UTC 2023 - Fridrich Strba + +- Build with source and target levels 8 + ------------------------------------------------------------------- Thu Sep 23 09:10:07 UTC 2021 - Anton Shvetz diff --git a/commonmark-java.spec b/commonmark-java.spec index 8661aa6..3faa16d 100644 --- a/commonmark-java.spec +++ b/commonmark-java.spec @@ -55,6 +55,8 @@ API documentation for %{name}. %autosetup -n %{name}-%{project_name}-parent-%{version} %pom_remove_plugin -r org.sonatype.plugins:nexus-staging-maven-plugin %pom_remove_plugin -r :maven-javadoc-plugin +%pom_xpath_set -r "pom:plugin[pom:artifactId[text()='maven-compiler-plugin']]/pom:configuration/pom:source" "8" +%pom_xpath_set -r "pom:plugin[pom:artifactId[text()='maven-compiler-plugin']]/pom:configuration/pom:target" "8" %{mvn_file} ':{*}' %{project_name}/@1 %build