From 5299ad961d51c054ec33208787378205464784f6e78446659839da676cfedd93 Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Tue, 10 Sep 2013 12:08:21 +0000 Subject: [PATCH] . OBS-URL: https://build.opensuse.org/package/show/Publishing/latex2html?expand=0&rev=14 --- latex2html.changes | 5 +++++ latex2html.spec | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/latex2html.changes b/latex2html.changes index 1754e33..b6dc59d 100644 --- a/latex2html.changes +++ b/latex2html.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Sep 10 12:08:06 UTC 2013 - werner@suse.de + +- Use kpsepath to determine texmf main location + ------------------------------------------------------------------- Tue Jun 25 16:58:46 CEST 2013 - mls@suse.de diff --git a/latex2html.spec b/latex2html.spec index e8094e8..ffd7db7 100644 --- a/latex2html.spec +++ b/latex2html.spec @@ -21,9 +21,11 @@ BuildRequires: fdupes BuildRequires: ghostscript-fonts-std BuildRequires: ghostscript-x11 BuildRequires: netpbm +BuildRequires: texlive-kpathsea BuildRequires: texlive-latex BuildRequires: xorg-x11 BuildRequires: xorg-x11-devel +%{expand: %%global _texmfmaindir %(kpsewhich -expand-var='$TEXMFMAIN')} %define share_dir /usr/share/latex2html Obsoletes: l2h Provides: l2h @@ -110,7 +112,7 @@ install -m 644 latex2html.man $RPM_BUILD_ROOT/%{_mandir}/man1/latex2html.1 rm -r $RPM_BUILD_ROOT%{share_dir}/{docs,example,dot.latex2html-init,readme.hthtml} chmod 755 $RPM_BUILD_ROOT%{_datadir}/%{name}/{cweb2html/makemake.pl,cweb2html/cweb2html,makemap,makeseg/makeseg} #removing out-dated url.sty [#283760] -rm $RPM_BUILD_ROOT/usr/lib/texmf/tex/latex/html/url.sty +rm ${RPM_BUILD_ROOT}%{_texmfmaindir}/tex/latex/html/url.sty %fdupes -s $RPM_BUILD_ROOT %check @@ -146,7 +148,7 @@ touch var/adm/SuSEconfig/run-texhash %{share_dir}/texinputs %{share_dir}/versions /usr/bin/* -/usr/lib/texmf/tex/latex/html +%{_texmfmaindir}/tex/latex/html %{_mandir}/man1/latex2html* %files pngicons