packages: texlive/texlive.spec - process all and then fail
arekm
arekm at pld-linux.org
Sun Jan 31 22:07:58 CET 2010
Author: arekm Date: Sun Jan 31 21:07:58 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- process all and then fail
---- Files affected:
packages/texlive:
texlive.spec (1.317 -> 1.318)
---- Diffs:
================================================================
Index: packages/texlive/texlive.spec
diff -u packages/texlive/texlive.spec:1.317 packages/texlive/texlive.spec:1.318
--- packages/texlive/texlive.spec:1.317 Sun Jan 31 22:04:29 2010
+++ packages/texlive/texlive.spec Sun Jan 31 22:07:52 2010
@@ -6014,6 +6014,7 @@
rm -rf $RPM_BUILD_ROOT%{_datadir}/doc
# Create format files
+failed=""
for format in \
aleph \
csplain \
@@ -6044,9 +6045,16 @@
# %else
out=$(fmtutil --fmtdir $RPM_BUILD_ROOT%{fmtdir} --byfmt=${format})
echo $out
- [ -z $out ] && echo "fmtutil for format ${format} failed. Likely ${format}.ini file missing..." && exit 1
+ if [ -z $out ]; then
+ failed="$failed ${format}"
+ fi
# %endif
done
+if [ -n "$failed" ]; then
+ echo "fmtutil formats failed: ${failed}. Missing format_name.ini files?" >&1
+ exit 1
+fi
+
%if %{with bootstrap}
touch $RPM_BUILD_ROOT%{fmtdir}/xetex/xelatex.fmt
%endif
@@ -13973,6 +13981,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.318 2010/01/31 21:07:52 arekm
+- process all and then fail
+
Revision 1.317 2010/01/31 21:04:29 arekm
- tell what is likely to be missing on failure
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/texlive/texlive.spec?r1=1.317&r2=1.318&f=u
More information about the pld-cvs-commit
mailing list