summaryrefslogtreecommitdiffstats
path: root/redhat/tde-i18n/tde-i18n-14.0.0.spec
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2013-07-27 13:45:03 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2013-07-27 13:45:03 +0200
commit4a0609eac2e778c2986470480737b2cc5122326d (patch)
tree3da0fa4711d02aba177b344983c06028593c7bc6 /redhat/tde-i18n/tde-i18n-14.0.0.spec
parent4091eb1d72ab057aba851b60e266b9a443c34b35 (diff)
downloadtde-packaging-4a0609eac2e778c2986470480737b2cc5122326d.tar.gz
tde-packaging-4a0609eac2e778c2986470480737b2cc5122326d.zip
RPM Packaging: more updates
Diffstat (limited to 'redhat/tde-i18n/tde-i18n-14.0.0.spec')
-rw-r--r--redhat/tde-i18n/tde-i18n-14.0.0.spec8
1 files changed, 8 insertions, 0 deletions
diff --git a/redhat/tde-i18n/tde-i18n-14.0.0.spec b/redhat/tde-i18n/tde-i18n-14.0.0.spec
index 0d70440da..531e88003 100644
--- a/redhat/tde-i18n/tde-i18n-14.0.0.spec
+++ b/redhat/tde-i18n/tde-i18n-14.0.0.spec
@@ -709,6 +709,7 @@ export TDEDIR=%{tde_prefix}
export kde_htmldir="%{tde_tdedocdir}/HTML"
+(
for l in %{TDE_LANGS}; do
for f in tde-i18n-${l}/; do
if [ -d "${f}" ]; then
@@ -727,8 +728,15 @@ for l in %{TDE_LANGS}; do
fi
done
done
+) 2>&1 | tee /tmp/rpmbuild.$$
+
+if grep -q Error /tmp/rpmbuild.$$; then
+ echo Error while building. See '/tmp/rpmbuild.$$'
+ exit 1
+fi
wait
+rm -f /tmp/rpmbuild.$$
%install
%__rm -rf %{?buildroot}