Accepting request 904190 from Publishing:TeXLive

Fix boo#1185941 and correct shebang of python(3) scripts

OBS-URL: https://build.opensuse.org/request/show/904190
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/texlive-specs-a?expand=0&rev=44
This commit is contained in:
Dominique Leuenberger 2021-07-06 21:30:06 +00:00 committed by Git OBS Bridge
commit a7f6e584d5
2 changed files with 34 additions and 2 deletions

View File

@ -1,3 +1,22 @@
-------------------------------------------------------------------
Wed Jun 30 12:59:13 UTC 2021 - Dr. Werner Fink <werner@suse.de>
- Add patch seminar_latex20200202.dif and patch prosper_utf8.dif
* Avoid latin1 characters and the caused warning about broken
enconding in the typeouts of prosper file
* Set lowest release of the LaTeX engine for seminar class
(boo#1185941)
-------------------------------------------------------------------
Tue Jun 29 09:17:39 UTC 2021 - Dr. Werner Fink <werner@suse.de>
- Move python detection and correction to python3
-------------------------------------------------------------------
Sun May 30 16:43:21 UTC 2021 - Callum Farmer <gmbr3@opensuse.org>
- Change to using systemd-sysusers
-------------------------------------------------------------------
Mon Apr 12 12:41:38 UTC 2021 - Dr. Werner Fink <werner@suse.de>

View File

@ -21,7 +21,7 @@
%define texlive_version 2021
%define texlive_previous 2020
%define texlive_release 20210325
%define texlive_noarch 185
%define texlive_noarch 186
#!BuildIgnore: texlive
#!BuildIgnore: texlive-scripts
@ -67,7 +67,7 @@ BuildRequires: texlive-filesystem
BuildRequires: xz
BuildArch: noarch
Summary: Meta package for a
License: Apache-1.0 AND BSD-3-Clause AND GFDL-1.2-only AND GPL-2.0-or-later AND LGPL-2.1-or-later AND LPPL-1.0 AND LPPL-1.3c AND OFL-1.1 AND SUSE-Public-Domain AND SUSE-TeX
License: Apache-1.0 and BSD-3-Clause and GFDL-1.2-only and GPL-2.0-or-later and LGPL-2.1-or-later and LPPL-1.0 and LPPL-1.3c and OFL-1.1 and SUSE-Public-Domain and SUSE-TeX
URL: https://build.opensuse.org/package/show/Publishing:TeXLive/Meta
Group: Productivity/Publishing/TeX/Base
Source0: texlive-specs-a-rpmlintrc
@ -32911,6 +32911,19 @@ VERBOSE=false %{_texmfdistdir}/texconfig/update || :
%endif
tar --use-compress-program=xz -xf %{S:269} -C %{buildroot}%{_datadir}/texlive/texmf-dist
tar --use-compress-program=xz -xf %{S:270} -C %{buildroot}%{_datadir}/texlive/texmf-dist
# Correct shebang of python3 scripts if any
for scr in %{_texmfdistdir}/doc/latex/aramaic-serto/serto.py
do
test -e %{buildroot}/$scr || continue
head -n 1 %{buildroot}/$scr | grep -q python3 && continue
ed %{buildroot}/${scr} <<-'EOF'
1
s@python@python3@
.
w
q
EOF
done
# Avoid /usr/bin/env <prog>
for scr in %{_texmfdistdir}/doc/latex/aramaic-serto/serto.py
do