packages: texlive/texlive.spec - revert fmtutil checking

arekm arekm at pld-linux.org
Tue Feb 2 13:28:55 CET 2010


Author: arekm                        Date: Tue Feb  2 12:28:55 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- revert fmtutil checking

---- Files affected:
packages/texlive:
   texlive.spec (1.319 -> 1.320) 

---- Diffs:

================================================================
Index: packages/texlive/texlive.spec
diff -u packages/texlive/texlive.spec:1.319 packages/texlive/texlive.spec:1.320
--- packages/texlive/texlive.spec:1.319	Sun Jan 31 23:44:20 2010
+++ packages/texlive/texlive.spec	Tue Feb  2 13:28:49 2010
@@ -6004,7 +6004,6 @@
 rm -rf $RPM_BUILD_ROOT%{_datadir}/doc
 
 # Create format files
-failed=""
 for format in \
 	aleph \
 	csplain \
@@ -6033,17 +6032,9 @@
 #  	touch $RPM_BUILD_ROOT%{fmtdir}/${format}/${format}.fmt
 #  	touch $RPM_BUILD_ROOT%{fmtdir}/pdftex/${format}.fmt
 #  %else
-	out=$(fmtutil --fmtdir $RPM_BUILD_ROOT%{fmtdir} --byfmt=${format})
-	echo $out
-	if [ -z $out ]; then
-		failed="$failed ${format}"
-	fi
+	fmtutil --fmtdir $RPM_BUILD_ROOT%{fmtdir} --byfmt=${format}
 #  %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
@@ -13938,6 +13929,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.320  2010/02/02 12:28:49  arekm
+- revert fmtutil checking
+
 Revision 1.319  2010/01/31 22:44:20  megabajt
 - added appropriate R: -data to -dvips, -metapost and -omega subpackages
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/texlive/texlive.spec?r1=1.319&r2=1.320&f=u



More information about the pld-cvs-commit mailing list