diff --git a/access-modifier-annotation.spec b/access-modifier-annotation.spec
index aa732e1..ebec93c 100644
--- a/access-modifier-annotation.spec
+++ b/access-modifier-annotation.spec
@@ -2,7 +2,7 @@
Name: access-modifier-annotation
Version: 1.4
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: Java annotation for custom access modifiers
# License is specified in pom file
@@ -49,12 +49,7 @@ cp %{SOURCE1} LICENSE
# We don't have asm-debug-all artifact,
# so we'll use the one without debugging information
-%pom_xpath_replace "pom:dependency[pom:artifactId[text()='asm-debug-all']]" \
-"
- asm
- asm-all
- " access-modifier-checker
-
+%pom_change_dep :asm-debug-all asm:asm-all access-modifier-checker
%build
%mvn_build
@@ -69,6 +64,9 @@ cp %{SOURCE1} LICENSE
%doc LICENSE
%changelog
+* Mon Jun 08 2015 Michal Srb - 1.4-5
+- Utilize pom_change_dep
+
* Sat Jun 07 2014 Fedora Release Engineering - 1.4-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild