Browse Source

updated texmacro-otf-vl.spec

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@5261 ec354946-7b23-47d6-9f5a-488ba84defc7
munepi 12 years ago
parent
commit
80d2519164
1 changed files with 5 additions and 1 deletions
  1. 5 1
      t/texmacro-otf/texmacro-otf-vl.spec

+ 5 - 1
t/texmacro-otf/texmacro-otf-vl.spec

@@ -17,6 +17,7 @@
 %define build_mapdir	%{buildroot}%{mapdir}
 %define dvipdfmconfig	%{texmf}/dvipdfm/config
 
+%define exec_texhash  [ -x %{_bindir}/texhash ] && PATH=%{_bindir}:$PATH %{_bindir}/texhash
 %define exec_updmap	[ -x %{_bindir}/updmap-sys ] && %{_bindir}/env - %{_bindir}/updmap-sys 2> /dev/null
 %define exec_updmap_otf	[ -x %{_bindir}/updmap-otf ] && %{_bindir}/env - %{_bindir}/updmap-otf auto 2> /dev/null
 
@@ -24,7 +25,7 @@ Summary: TeX Live macro packages for "VF for OpenType Fonts" by S. Saito
 Summary(ja): TeX Live で使うマクロパッケージ (齋藤修三郎氏による「OpenType Font用VF」)
 Name: texmacro-otf
 Version: %{otfver}
-Release: 1%{?otfbetaver:.%otfbetaver}%{?_dist_release}
+Release: 2%{?otfbetaver:.%otfbetaver}%{?_dist_release}
 BuildArch: noarch
 
 Source0: http://psitau.kitunebi.com/otf%{version}%{?otfbetaver:%otfbetaver}.zip
@@ -190,6 +191,9 @@ exit 0
 %{mapdir}
 
 %changelog
+* Sun Dec  4 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.7-2.b3
+- defined %%exec_texhash
+
 * Sat Nov 26 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.7-1.b3
 - new upstream release
   - changed Url, License tags