Accepting request 573353 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/573353
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/texlive-specs-c?expand=0&rev=33
This commit is contained in:
Dominique Leuenberger 2018-02-07 17:15:15 +00:00 committed by Git OBS Bridge
commit 8dcadf7d58
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 Mon Jan 8 12:55:08 UTC 2018 - werner@suse.de

View File

@ -21,7 +21,7 @@
%define texlive_version 2017 %define texlive_version 2017
%define texlive_previous 2016 %define texlive_previous 2016
%define texlive_release 20170520 %define texlive_release 20170520
%define texlive_noarch 133 %define texlive_noarch 136
#!BuildIgnore: texlive #!BuildIgnore: texlive
@ -14955,6 +14955,18 @@ VERBOSE=false %{_texmfdistdir}/texconfig/update || :
test -e %{buildroot}/$scr || continue test -e %{buildroot}/$scr || continue
chmod 0755 %{buildroot}/$scr chmod 0755 %{buildroot}/$scr
done done
# Avoid /usr/bin/env <prog>
for scr in %{_texmfdistdir}/doc/bibtex/bibhtml/bibhtml
do
test -e %{buildroot}/$scr || continue
ed %{buildroot}/${scr} <<-'EOF'
1
s@/env[[:blank:]]\+@/@
.
w
q
EOF
done
%if %{with zypper_posttrans} %if %{with zypper_posttrans}
ln -sf %{_texmfdistdir}/texconfig/zypper.py \ ln -sf %{_texmfdistdir}/texconfig/zypper.py \
%{buildroot}/var/adm/update-scripts/texlive-biblatex-%{texlive_version}.%{texlive_noarch}.3.7svn42680-%{release}-zypper %{buildroot}/var/adm/update-scripts/texlive-biblatex-%{texlive_version}.%{texlive_noarch}.3.7svn42680-%{release}-zypper