[tetex-tex4ht/f17] define texmf path directly to let the build pass

Jindrich Novy jnovy at fedoraproject.org
Mon Apr 23 12:31:42 UTC 2012


commit fa0e7fda17a0af92fd7c1b94a0e9f0d5fceffdec
Author: Jindrich Novy <jnovy at redhat.com>
Date:   Mon Apr 23 14:33:50 2012 +0200

    define texmf path directly to let the build pass

 tetex-tex4ht.spec |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/tetex-tex4ht.spec b/tetex-tex4ht.spec
index e7733f8..4c06f0e 100644
--- a/tetex-tex4ht.spec
+++ b/tetex-tex4ht.spec
@@ -1,11 +1,11 @@
-%{!?_texmf: %define _texmf %(eval "[ -x /usr/bin/kpsewhich ] && echo `kpsewhich -expand-var '$TEXMFMAIN'` || echo %{_datadir}/texmf")}
+%{!?_texmf: %define _texmf %{_datadir}/texmf}
 
 %define _scriptsdir %{_datadir}/tex4ht
 
 Summary:       Translates TeX and LaTeX into HTML or XML+MathML
 Name:          tetex-tex4ht
 Version:       1.0.2008_09_16_1413
-Release:       6%{?dist}
+Release:       7%{?dist}
 License:       LPPL
 Group:         Applications/Publishing
 URL:           http://www.cse.ohio-state.edu/~gurari/TeX4ht/
@@ -32,7 +32,6 @@ Patch1:        http://ftp.de.debian.org/debian/pool/main/t/tex4ht/tex4ht_2008070
 BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 # kpsewhich should be brought in by kpathsea-devel anyway
-BuildRequires:  /usr/bin/kpsewhich
 BuildRequires:  kpathsea-devel
 # Doesn't run with gcj, so better build it with icedtea/openjdk too
 BuildRequires:  java-devel >= 1:1.6.0
@@ -191,6 +190,9 @@ texhash > /dev/null 2>&1 || :
 texhash > /dev/null 2>&1 || :
 
 %changelog
+* Mon Apr 22 2012 Jindrich Novy <jnovy at redhat.com> 1.0.2008_09_16_1413-7
+- define texmf path directly to let the build pass
+
 * Fri Mar 23 2012 Jindrich Novy <jnovy at redhat.com> 1.0.2008_09_16_1413-6
 - fix java dependency (#794479)
 


More information about the scm-commits mailing list