File xetex.post of Package texlive-specs-x

fconf=%{_texmfvardir}/fonts/conf/texlive-fontconfig.conf
(cat > $fconf)<<-'EOF'
	<?xml version="1.0"?>
	<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
	<fontconfig>
	EOF
for t in opentype truetype type1
do  echo "  <dir>%{_texmfdistdir}/fonts/$t</dir>"
done >> $fconf
echo '</fontconfig>' >> $fconf