packages: texlive/texlive.spec - make bootstrap build work again

baggins baggins at pld-linux.org
Thu Apr 30 23:16:59 CEST 2009


Author: baggins                      Date: Thu Apr 30 21:16:59 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- make bootstrap build work again

---- Files affected:
packages/texlive:
   texlive.spec (1.252 -> 1.253) 

---- Diffs:

================================================================
Index: packages/texlive/texlive.spec
diff -u packages/texlive/texlive.spec:1.252 packages/texlive/texlive.spec:1.253
--- packages/texlive/texlive.spec:1.252	Thu Apr 30 23:15:58 2009
+++ packages/texlive/texlive.spec	Thu Apr 30 23:16:53 2009
@@ -5893,8 +5893,17 @@
 	xetex \
 	xelatex \
 	xmltex; do
- 	fmtutil --fmtdir $RPM_BUILD_ROOT%{fmtdir} --byfmt=${format}
+%if %{with bootstrap}
+	mkdir -p $RPM_BUILD_ROOT%{fmtdir}/${format}
+	touch $RPM_BUILD_ROOT%{fmtdir}/${format}/${format}.fmt
+	touch $RPM_BUILD_ROOT%{fmtdir}/pdftex/${format}.fmt
+%else
+	fmtutil --fmtdir $RPM_BUILD_ROOT%{fmtdir} --byfmt=${format}
+%endif
 done
+%if %{with bootstrap}
+touch $RPM_BUILD_ROOT%{fmtdir}/xetex/xelatex.fmt
+%endif
 # We don't need the log files
 rm -f $(find $RPM_BUILD_ROOT%{fmtdir} -name "*.log")
 
@@ -8274,6 +8283,7 @@
 %{texmf}/texconfig/v
 %{texmf}/texconfig/x
 
+%if !%{with bootstrap}
 %files -n xindy
 %defattr(644,root,root,755)
 %doc %{texmf}/doc/xindy
@@ -8469,6 +8479,7 @@
 %files -n xindy-vietnamese
 %defattr(644,root,root,755)
 %{texmf}/xindy/lang/vietnamese/
+%endif
 
 %files -n xdvi
 %defattr(644,root,root,755)
@@ -13907,6 +13918,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.253  2009/04/30 21:16:53  baggins
+- make bootstrap build work again
+
 Revision 1.252  2009/04/30 21:15:58  baggins
 - more O:, versioned P:jadetex
 
================================================================

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



More information about the pld-cvs-commit mailing list