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

Jindrich Novy jnovy at fedoraproject.org
Thu Apr 19 17:11:58 UTC 2012


commit 818654a0bb0f935d2d262d60402bd8ddc6b70287
Author: Jindrich Novy <jnovy at redhat.com>
Date:   Thu Apr 19 19:13:42 2012 +0200

    define texmf path directly to let the build pass

 tetex-tex4ht.spec |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/tetex-tex4ht.spec b/tetex-tex4ht.spec
index 1c5ab6c..df404d1 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:       8%{?dist}
+Release:       9%{?dist}
 License:       LPPL
 Group:         Applications/Publishing
 URL:           http://www.cse.ohio-state.edu/~gurari/TeX4ht/
@@ -31,10 +31,7 @@ Patch1:        http://ftp.de.debian.org/debian/pool/main/t/tex4ht/tex4ht_2008070
 #Patch3:        tetex-tex4ht-1.0-rebuild.patch
 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
-#BuildRequires:  java-devel
 # Doesn't run with gcj, so better build it with icedtea/openjdk too
 BuildRequires:  java-devel >= 1:1.6.0
 Requires:       java >= 1:1.6.0
@@ -192,6 +189,9 @@ texhash > /dev/null 2>&1 || :
 texhash > /dev/null 2>&1 || :
 
 %changelog
+* Thu Apr 19 2012 Jindrich Novy <jnovy at redhat.com> 1.0.2008_09_16_1413-9
+- 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-8
 - rebuild
 


More information about the scm-commits mailing list