commit 9b12d1889c8f46e5a8ce82a945b0447994bff089
Author: Michael Simacek <msimacek(a)redhat.com>
Date: Fri Jan 17 15:23:12 2014 +0100
[macros] pass -r (recursive) and -f (force) options to pom_editor
Options added only to macros where it makes sense.
etc/macros.fjava | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/etc/macros.fjava b/etc/macros.fjava
index 3485eea..56e5f72 100644
--- a/etc/macros.fjava
+++ b/etc/macros.fjava
@@ -113,7 +113,7 @@ sort -u -o ${_filelist} ${_filelist} \
# directory containing pom.xml. If POM location is not given then pom.xml from
# current working directory is used.
#
-%pom_remove_dep() %{expand: %{__pom_call}remove_dep %*
+%pom_remove_dep(rf) %{expand: %{__pom_call}remove_dep %**
}
@@ -132,7 +132,7 @@ sort -u -o ${_filelist} ${_filelist} \
# directory containing pom.xml. If POM location is not given then pom.xml from
# current working directory is used.
#
-%pom_remove_plugin() %{expand: %{__pom_call}remove_plugin %*
+%pom_remove_plugin(rf) %{expand: %{__pom_call}remove_plugin %**
}
@@ -175,7 +175,7 @@ sort -u -o ${_filelist} ${_filelist} \
# because it selects nodes from pom namespace, but "environment/os" won't
find
# anything because it looks for nodes that don't belong to any XML namespace.
#
-%pom_xpath_remove() %{expand: %{__pom_call}xpath_remove %*
+%pom_xpath_remove(rf) %{expand: %{__pom_call}xpath_remove %**
}
@@ -213,7 +213,7 @@ sort -u -o ${_filelist} ${_filelist} \
# directory containing pom.xml. If POM location is not given then pom.xml from
# current working directory is used.
#
-%pom_xpath_replace() %{expand: %{__pom_call}xpath_replace %*
+%pom_xpath_replace(rf) %{expand: %{__pom_call}xpath_replace %**
}
@@ -232,7 +232,7 @@ sort -u -o ${_filelist} ${_filelist} \
# directory containing pom.xml. If POM location is not given then pom.xml from
# current working directory is used.
#
-%pom_xpath_set() %{expand: %{__pom_call}xpath_set %*
+%pom_xpath_set(rf) %{expand: %{__pom_call}xpath_set %**
}
Show replies by date