diff --git a/apache-commons-logging.spec b/apache-commons-logging.spec index 04d6694..965d6f5 100644 --- a/apache-commons-logging.spec +++ b/apache-commons-logging.spec @@ -1,4 +1,3 @@ - Name: apache-commons-logging Version: 1.2 Release: 14%{?dist} @@ -58,7 +57,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 +%mvn_build -- -Dmaven.compiler.source=1.6 -Dmaven.compiler.target=1.6 # The build produces more artifacts from one pom %mvn_artifact %{SOURCE2} target/commons-logging-%{version}-api.jar