/usr/bin/env second
OBS-URL: https://build.opensuse.org/package/show/Publishing:TeXLive/texlive-specs-n?expand=0&rev=75
This commit is contained in:
parent
60bcf7b0d8
commit
348f1563aa
@ -1,3 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 24 08:46:16 UTC 2018 - werner@suse.de
|
||||
|
||||
- Switch over to python 3 (boo#1077170)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 11 12:48:35 UTC 2018 - werner@suse.de
|
||||
|
||||
- Avoid nasty warning about missing batchmode in ENVironment
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 8 12:55:08 UTC 2018 - werner@suse.de
|
||||
|
||||
|
@ -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 @@ VERBOSE=false %{_texmfdistdir}/texconfig/update || :
|
||||
%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 @@ VERBOSE=false %{_texmfdistdir}/texconfig/update || :
|
||||
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 @@ VERBOSE=false %{_texmfdistdir}/texconfig/update || :
|
||||
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 @@ VERBOSE=false %{_texmfdistdir}/texconfig/update || :
|
||||
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 @@ VERBOSE=false %{_texmfdistdir}/texconfig/update || :
|
||||
%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/env <prog>
|
||||
for scr in %{_texmfdistdir}/scripts/latexfileversion/latexfileversion
|
||||
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-latexgit-%{texlive_version}.%{texlive_noarch}.svn41920-%{release}-zypper
|
||||
@ -19360,6 +19425,18 @@ VERBOSE=false %{_texmfdistdir}/texconfig/update || :
|
||||
%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 @@ VERBOSE=false %{_texmfdistdir}/texconfig/update || :
|
||||
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 @@ VERBOSE=false %{_texmfdistdir}/texconfig/update || :
|
||||
%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}
|
||||
|
Loading…
x
Reference in New Issue
Block a user