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/