From dbf6cb1e7a994e7626612435dd22918d857ee3c3f445bf34ea29bb478f5ee689 Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Mon, 9 Sep 2013 06:57:38 +0000 Subject: [PATCH] . OBS-URL: https://build.opensuse.org/package/show/Publishing:TeXLive/texlive?expand=0&rev=152 --- texlive.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/texlive.spec b/texlive.spec index 386bc20..5d4da89 100644 --- a/texlive.spec +++ b/texlive.spec @@ -2603,11 +2603,13 @@ popd %if %{with buildbiber} install -m 0644 man1/biber.1 %{buildroot}%{_mandir}/man1/ %endif +%if 0%{texlive_version} < 2013 install -m 0644 man1/pmx2pdf.1 %{buildroot}%{_mandir}/man1/ install -m 0644 man1/pmxab.1 %{buildroot}%{_mandir}/man1/ install -m 0644 man1/prepmx.1 %{buildroot}%{_mandir}/man1/ install -m 0644 man1/m-tx.1 %{buildroot}%{_mandir}/man1/ install -m 0644 man1/scor2prt.1 %{buildroot}%{_mandir}/man1/ +%endif popd # # Those lines with exclamation mark have to done in the @@ -2719,10 +2721,12 @@ popd find %{buildroot}%{_texmfdirs} -type f | xargs -r rm -vf # but work around missing MusixTeX files ... +%if 0%{texlive_version} < 2013 pushd ${prefix}/texmf-dist/ install -m 0755 scripts/m-tx/m-tx.lua %{buildroot}%{_texmfdistdir}/scripts/m-tx/ install -m 0755 scripts/pmx/pmx2pdf.lua %{buildroot}%{_texmfdistdir}/scripts/pmx/ popd +%endif # ... and add rungs texlua script as dvipdfmx/dvipdfm require this pushd ${prefix}/texmf-dist/ install -m 0755 scripts/texlive/rungs.tlu %{buildroot}%{_texmfdistdir}/scripts/texlive/