Accepting request 573351 from Publishing:TeXLive

- Avoid broken scripts due former env correction, only repair
  those scripts where the shebang exists 

- Switch over to python 3 (boo#1077170)

- Avoid nasty warning about missing batchmode in ENVironment

OBS-URL: https://build.opensuse.org/request/show/573351
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/texlive-specs-a?expand=0&rev=34
This commit is contained in:
Dominique Leuenberger 2018-02-07 17:15:02 +00:00 committed by Git OBS Bridge
commit 2865e49b82
2 changed files with 29 additions and 1 deletions

View File

@ -1,3 +1,19 @@
-------------------------------------------------------------------
Tue Feb 6 11:20:16 UTC 2018 - werner@suse.de
- Avoid broken scripts due former env correction, only repair
those scripts where the shebang exists
-------------------------------------------------------------------
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

View File

@ -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
@ -22624,6 +22624,18 @@ fi
%endif
tar --use-compress-program=xz -xf %{S:220} -C %{buildroot}%{_datadir}/texlive/texmf-dist
tar --use-compress-program=xz -xf %{S:221} -C %{buildroot}%{_datadir}/texlive/texmf-dist
# Avoid /usr/bin/env <prog>
for scr in %{_texmfdistdir}/doc/latex/aramaic-serto/serto.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-aramaic-serto
for font in %{buildroot}/%{_texmfdistdir}/fonts/type1/public/aramaic-serto/*.{pf[ab],[ot]tf}