diff --git a/gdal.spec b/gdal.spec
index 7afb4ca..3790c2e 100644
--- a/gdal.spec
+++ b/gdal.spec
@@ -615,7 +615,7 @@ install -pm 644 %{SOURCE2} %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
sed -i 's||%{version}|' %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
# Create depmap fragment
-%add_maven_depmap JPP-%{name}.pom %{name}.jar
+%add_artifact JPP-%{name}.pom %{name}.jar
# 775 on the .so?
# copy JNI libraries and links, non versioned link needed by JNI