java/spacewalk-java.spec | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 6c3c303a7710aee908f366f01c2697edc979bd6c
Author: Jan Pazdziora <jpazdziora(a)redhat.com>
Date: Fri Feb 18 15:56:21 2011 +0100
Check upon build time that we did not get the @@PRODUCT_NAME@@ template translated.
diff --git a/java/spacewalk-java.spec b/java/spacewalk-java.spec
index 637a30e..8de47b4 100644
--- a/java/spacewalk-java.spec
+++ b/java/spacewalk-java.spec
@@ -302,6 +302,8 @@ find . -name *.java | grep -E '/test/' | grep -vE
'(/jsp/|/playpen/)' | \
xargs checkstyle -c buildconf/checkstyle.xml
%endif
+find . -type f -name '*.xml' | xargs perl -CSAD -lne 'for (grep { $_ ne
"PRODUCT_NAME" } /\@\@(\w+)\@\@/) { print; $exit = 1;} END { exit $exit }'
+
%install
rm -rf $RPM_BUILD_ROOT
%if 0%{?rhel} && 0%{?rhel} < 6
Show replies by date