Hello community, here is the log from the commit of package texlive-specs-n for openSUSE:Factory checked in at 2018-02-07 18:16:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/texlive-specs-n (Old) and /work/SRC/openSUSE:Factory/.texlive-specs-n.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "texlive-specs-n" Wed Feb 7 18:16:21 2018 rev:32 rq:573365 version:unknown Changes: -------- --- /work/SRC/openSUSE:Factory/texlive-specs-n/texlive-specs-n.changes 2018-01-13 21:38:50.078719649 +0100 +++ /work/SRC/openSUSE:Factory/.texlive-specs-n.new/texlive-specs-n.changes 2018-02-07 18:16:43.289596807 +0100 @@ -1,0 +2,16 @@ +Tue Feb 6 11:20:16 UTC 2018 - [email protected] + +- Avoid broken scripts due former env correction, only repair + those scripts where the shebang exists + +------------------------------------------------------------------- +Wed Jan 24 08:46:16 UTC 2018 - [email protected] + +- Switch over to python 3 (boo#1077170) + +------------------------------------------------------------------- +Thu Jan 11 12:48:35 UTC 2018 - [email protected] + +- Avoid nasty warning about missing batchmode in ENVironment + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ texlive-specs-n.spec ++++++ --- /var/tmp/diff_new_pack.uB9qqs/_old 2018-02-07 18:16:50.545256832 +0100 +++ /var/tmp/diff_new_pack.uB9qqs/_new 2018-02-07 18:16:50.561256082 +0100 @@ -21,7 +21,7 @@ %define texlive_version 2017 %define texlive_previous 2016 %define texlive_release 20170520 -%define texlive_noarch 133 +%define texlive_noarch 136 #!BuildIgnore: texlive @@ -19147,6 +19147,18 @@ %endif tar --use-compress-program=xz -xf %{S:2} -C %{buildroot}%{_datadir}/texlive tar --use-compress-program=xz -xf %{S:3} -C %{buildroot}%{_datadir}/texlive + # Avoid /usr/bin/env <prog> + for scr in %{_texmfdistdir}/scripts/latex-papersize/latex-papersize.py + do + test -e %{buildroot}/$scr || continue + ed %{buildroot}/${scr} <<-'EOF' + 1 + s@/env[[:blank:]]\+@/@ + . + w + q + EOF + done %if %{with zypper_posttrans} ln -sf %{_texmfdistdir}/texconfig/zypper.py \ %{buildroot}/var/adm/update-scripts/texlive-latex-referenz-%{texlive_version}.%{texlive_noarch}.2svn36671-%{release}-zypper @@ -19187,6 +19199,18 @@ q EOF done + # Avoid /usr/bin/env <prog> + for scr in %{_texmfdistdir}/source/latex/latex-tds/build.pl + do + test -e %{buildroot}/$scr || continue + ed %{buildroot}/${scr} <<-'EOF' + 1 + s@/env[[:blank:]]\+@/@ + . + w + q + EOF + done %if %{with zypper_posttrans} ln -sf %{_texmfdistdir}/texconfig/zypper.py \ %{buildroot}/var/adm/update-scripts/texlive-latex-veryshortguide-%{texlive_version}.%{texlive_noarch}.svn41844-%{release}-zypper @@ -19227,6 +19251,18 @@ pushd %{buildroot}%{_datadir}/texlive/texmf-dist patch --reject-format=unified --quoting-style=literal -f -p1 -F0 -T < %{S:15} popd + # Avoid /usr/bin/env <prog> + for scr in %{_texmfdistdir}/scripts/latex2man/latex2man + do + test -e %{buildroot}/$scr || continue + ed %{buildroot}/${scr} <<-'EOF' + 1 + s@/env[[:blank:]]\+@/@ + . + w + q + EOF + done %if %{with zypper_posttrans} ln -sf %{_texmfdistdir}/texconfig/zypper.py \ %{buildroot}/var/adm/update-scripts/texlive-latex2nemeth-%{texlive_version}.%{texlive_noarch}.1.0svn42300-%{release}-zypper @@ -19336,6 +19372,23 @@ q EOF done + # Avoid /usr/bin/env <prog> + for scr in %{_texmfdistdir}/scripts/latexdiff/latexdiff-vc.pl \ + %{_texmfdistdir}/scripts/latexdiff/latexdiff.pl \ + %{_texmfdistdir}/scripts/latexdiff/latexrevise.pl \ + %{_texmfdistdir}/doc/support/latexdiff/contrib/latexchanges.py \ + %{_texmfdistdir}/doc/support/latexdiff/latexdiff \ + %{_texmfdistdir}/doc/support/latexdiff/latexdiff-fast + do + test -e %{buildroot}/$scr || continue + ed %{buildroot}/${scr} <<-'EOF' + 1 + s@/env[[:blank:]]\+@/@ + . + w + q + EOF + done %if %{with zypper_posttrans} ln -sf %{_texmfdistdir}/texconfig/zypper.py \ %{buildroot}/var/adm/update-scripts/texlive-latexfileinfo-pkgs-%{texlive_version}.%{texlive_noarch}.0.0.22svn26760-%{release}-zypper @@ -19348,6 +19401,18 @@ %endif tar --use-compress-program=xz -xf %{S:37} -C %{buildroot}%{_datadir}/texlive tar --use-compress-program=xz -xf %{S:38} -C %{buildroot}%{_datadir}/texlive + # Avoid /usr/bin/bash or similar + for scr in %{_texmfdistdir}/scripts/latexfileversion/latexfileversion + do + test -e %{buildroot}/$scr || continue + ed %{buildroot}/${scr} <<-'EOF' + 1 + s@^#!.*bash@#!/bin/bash@ + . + w + q + EOF + done %if %{with zypper_posttrans} ln -sf %{_texmfdistdir}/texconfig/zypper.py \ %{buildroot}/var/adm/update-scripts/texlive-latexgit-%{texlive_version}.%{texlive_noarch}.svn41920-%{release}-zypper @@ -19360,6 +19425,18 @@ %endif tar --use-compress-program=xz -xf %{S:41} -C %{buildroot}%{_datadir}/texlive tar --use-compress-program=xz -xf %{S:42} -C %{buildroot}%{_datadir}/texlive + # Avoid /usr/bin/env <prog> + for scr in %{_texmfdistdir}/scripts/latexindent/latexindent.pl + do + test -e %{buildroot}/$scr || continue + ed %{buildroot}/${scr} <<-'EOF' + 1 + s@/env[[:blank:]]\+@/@ + . + w + q + EOF + done # Strip executable bit from non-scripts for txt in %{_texmfdistdir}/scripts/latexindent/LatexIndent/Command.pm \ %{_texmfdistdir}/scripts/latexindent/LatexIndent/Environment.pm \ @@ -19391,6 +19468,18 @@ test -e %{buildroot}/$scr || continue chmod 0755 %{buildroot}/$scr done + # Avoid /usr/bin/env <prog> + for scr in %{_texmfdistdir}/scripts/latexmk/latexmk.pl + do + test -e %{buildroot}/$scr || continue + ed %{buildroot}/${scr} <<-'EOF' + 1 + s@/env[[:blank:]]\+@/@ + . + w + q + EOF + done %if %{with zypper_posttrans} ln -sf %{_texmfdistdir}/texconfig/zypper.py \ %{buildroot}/var/adm/update-scripts/texlive-latexmp-%{texlive_version}.%{texlive_noarch}.1.2.1svn15878-%{release}-zypper @@ -19898,6 +19987,21 @@ %endif tar --use-compress-program=xz -xf %{S:122} -C %{buildroot}%{_datadir}/texlive tar --use-compress-program=xz -xf %{S:123} -C %{buildroot}%{_datadir}/texlive + # Avoid /usr/bin/env <prog> + for scr in %{_texmfdistdir}/scripts/lilyglyphs/lily-glyph-commands.py \ + %{_texmfdistdir}/scripts/lilyglyphs/lily-image-commands.py \ + %{_texmfdistdir}/scripts/lilyglyphs/lily-rebuild-pdfs.py \ + %{_texmfdistdir}/scripts/lilyglyphs/lilyglyphs_common.py + do + test -e %{buildroot}/$scr || continue + ed %{buildroot}/${scr} <<-'EOF' + 1 + s@/env[[:blank:]]\+@/@ + . + w + q + EOF + done # Move font files mkdir -p %{buildroot}%{_datadir}/fonts/texlive-lilyglyphs for font in %{buildroot}/%{_texmfdistdir}/fonts/opentype/public/lilyglyphs/*.{pf[ab],[ot]tf}
