diff --git a/ant.spec b/ant.spec index c9c612f..f0768af 100644 --- a/ant.spec +++ b/ant.spec @@ -338,6 +338,10 @@ Javadoc pour %{name}. # clean jar files find . -name "*.jar" | xargs -t rm +# Use our own version of javamail +%pom_remove_dep com.sun.mail:jakarta.mail src/etc/poms/ant-javamail +%pom_add_dep com.sun.mail:javax.mail::compile src/etc/poms/ant-javamail + # failing testcases. TODO see why rm src/tests/junit/org/apache/tools/ant/types/selectors/SignedSelectorTest.java \ src/tests/junit/org/apache/tools/ant/taskdefs/condition/IsFileSelectedTest.java \