From 4a0609eac2e778c2986470480737b2cc5122326d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Sat, 27 Jul 2013 13:45:03 +0200 Subject: RPM Packaging: more updates --- redhat/tde-i18n/tde-i18n-14.0.0.spec | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'redhat/tde-i18n/tde-i18n-14.0.0.spec') 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} -- cgit v1.2.1