diff --git a/.gitignore b/.gitignore
index c1dd4d2..34c01f5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -21,3 +21,4 @@
/apache-ant-1.10.4-src.tar.bz2
/apache-ant-1.10.5-src.tar.bz2
/apache-ant-1.10.6-src.tar.bz2
+/apache-ant-1.10.7-src.tar.bz2
diff --git a/ant.spec b/ant.spec
index 00c5628..8cc985d 100644
--- a/ant.spec
+++ b/ant.spec
@@ -35,9 +35,9 @@
%global ant_home %{_datadir}/ant
Name: ant
-Version: 1.10.6
-Release: 2%{?dist}
Epoch: 0
+Version: 1.10.7
+Release: 1%{?dist}
Summary: Java build tool
Summary(it): Tool per la compilazione di programmi java
Summary(fr): Outil de compilation pour java
@@ -392,6 +392,9 @@ mv LICENSE.utf8 LICENSE
%pom_xpath_inject 'target[@name="javadocs"]/javadoc/packageset' '' build.xml
%endif
+# fix javamail dependency coordinates (remove once javamail is updated)
+%pom_change_dep -r com.sun.mail:jakarta.mail javax.mail:mail src/etc/poms/ant-javamail/pom.xml
+
%build
%{ant} jars test-jar
@@ -653,6 +656,9 @@ LC_ALL=C.UTF-8 %{ant} test
# -----------------------------------------------------------------------------
%changelog
+* Fri May 08 2020 Fabio Valentini - 0:1.10.7-1
+- Update to version 1.10.7.
+
* Tue Jan 28 2020 Fedora Release Engineering - 0:1.10.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
diff --git a/sources b/sources
index 9a4a12f..7a26dfa 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (apache-ant-1.10.6-src.tar.bz2) = 94c5cfc280f0ba416b1a777e19474648c493c61c7c322044926f10cc72c210079247fa9066044f74b3bf463240aed1884066bd3e698136d94df419271820f696
+SHA512 (apache-ant-1.10.7-src.tar.bz2) = 5849e81aa037b9ba7f4e67057a0cde50301d183fc244673c7f11e34997b11d21c33306c07ab820bf60d454afa8ad5b159c3442427c8cb5403896f29ed179b10d