[texlive-texmf] fix CMAPFONTS -> point to poppler path (#736242)
Jindrich Novy
jnovy at fedoraproject.org
Thu Sep 22 17:53:56 UTC 2011
commit bbbcd53859141fe9d1d8d27c090400082f41792f
Author: Jindrich Novy <jnovy at redhat.com>
Date: Thu Sep 22 19:53:37 2011 +0200
fix CMAPFONTS -> point to poppler path (#736242)
texlive-texmf.spec | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/texlive-texmf.spec b/texlive-texmf.spec
index 0e01290..c849026 100644
--- a/texlive-texmf.spec
+++ b/texlive-texmf.spec
@@ -14,7 +14,7 @@
Name: texlive-texmf
Version: 2007
-Release: 38%{?dist}
+Release: 39%{?dist}
Summary: Architecture independent parts of the TeX formatting system
Group: Applications/Publishing
@@ -433,7 +433,9 @@ cp -a %{SOURCE10} %{buildroot}%{_texmf_main}/default.ls-R
cp -a %{SOURCE11} %{buildroot}%{_texmf_var}/default.ls-R
# ghostscript cmap required for dvipdfmx
-if [ -d "%{_datadir}/ghostscript/`gs --version| cut -d . -f 1-2`/Resource/CMap" ] ; then
+if [ -d "%{_datadir}/poppler/cMap" ] ; then
+ cmap_dir="%{_datadir}/poppler/cMap//"
+elif [ -d "%{_datadir}/ghostscript/`gs --version| cut -d . -f 1-2`/Resource/CMap" ] ; then
cmap_dir="%{_datadir}/ghostscript/"`gs --version| cut -d . -f 1-2`"/Resource/CMap/"
elif [ -d "%{_datadir}/ghostscript/Resource/CMap" ] ; then
cmap_dir="%{_datadir}/ghostscript/Resource/CMap/"
@@ -906,6 +908,9 @@ fi
%doc %{_texmf_main}/doc/
%changelog
+* Thu Sep 21 2011 Jindrich Novy <jnovy at redhat.com> 2007-39
+- fix CMAPFONTS -> point to poppler path (#736242)
+
* Tue Jul 26 2011 Jindrich Novy <jnovy at redhat.com> 2007-38
- allow to make LaTeX format from source more than 5 years old
(it gives a warning instead of an error)
More information about the scm-commits
mailing list