commit 01e67a441f0186013857986e014b3ae9693677c5
Author: Mikolaj Izdebski <mizdebsk(a)redhat.com>
Date: Mon Jul 9 10:41:24 2012 +0200
Add trailing LF in %pom_* macros
Fixes bug #837203
macros.fjava | 15 ++++++++++-----
1 files changed, 10 insertions(+), 5 deletions(-)
---
diff --git a/macros.fjava b/macros.fjava
index 7d89d2e..6f2586c 100644
--- a/macros.fjava
+++ b/macros.fjava
@@ -166,7 +166,8 @@ fi \
# 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() %{expand: %{__pom_call}remove_dep %*
+}
# %pom_remove_plugin - remove Maven plugin invocation from POM file
@@ -184,7 +185,8 @@ fi \
# 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() %{expand: %{__pom_call}remove_plugin %*
+}
# %pom_disable_module - disable given project module in POM file
@@ -201,7 +203,8 @@ fi \
# directory containing pom.xml. If POM location is not given then pom.xml from
# current working directory is used.
#
-%pom_disable_module() %{expand: %{__pom_call}disable_module %*}
+%pom_disable_module() %{expand: %{__pom_call}disable_module %*
+}
# %pom_xpath_remove - remove an XML node from POM file
@@ -219,7 +222,8 @@ fi \
# directory containing pom.xml. If POM location is not given then pom.xml from
# current working directory is used.
#
-%pom_xpath_remove() %{expand: %{__pom_call}xpath_remove %*}
+%pom_xpath_remove() %{expand: %{__pom_call}xpath_remove %*
+}
# %pom_xpath_inject - inject XML code into POM file
@@ -237,4 +241,5 @@ fi \
# directory containing pom.xml. If POM location is not given then pom.xml from
# current working directory is used.
#
-%pom_xpath_inject() %{expand: %{__pom_call}xpath_inject %*}
+%pom_xpath_inject() %{expand: %{__pom_call}xpath_inject %*
+}
Show replies by date