From 76adc9953ffab69e47bf7ffbba711d5a0a993efc1c2c89ccec9547c600ae3bfa Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Fri, 28 Jun 2024 07:42:12 +0000 Subject: [PATCH] boo#1212476 OBS-URL: https://build.opensuse.org/package/show/Publishing:TeXLive/texlive-specs-a?expand=0&rev=135 --- texlive-specs-a.changes | 5 +++++ texlive-specs-a.spec | 11 ++++++++--- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/texlive-specs-a.changes b/texlive-specs-a.changes index b1dddb6..9d0636f 100644 --- a/texlive-specs-a.changes +++ b/texlive-specs-a.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jun 27 13:38:11 UTC 2024 - Dr. Werner Fink + +- Add fix for bug boo#1212476 -- fix python shebang + ------------------------------------------------------------------- Wed Mar 20 09:19:21 UTC 2024 - Dr. Werner Fink diff --git a/texlive-specs-a.spec b/texlive-specs-a.spec index c4db4df..be8bc7f 100644 --- a/texlive-specs-a.spec +++ b/texlive-specs-a.spec @@ -19,7 +19,7 @@ %define texlive_version 2024 %define texlive_previous 2022 %define texlive_release 20240311 -%define texlive_noarch 213 +%define texlive_noarch 215 %define biber_version 2.19 #!BuildIgnore: texlive @@ -55,6 +55,10 @@ %define _x11inc %{_includedir} %define _appdefdir %{_x11data}/app-defaults +%if ! %{defined python3_bin_suffix} +%global python3_bin_suffix 3 +%endif + Name: texlive-specs-a Version: 2024 Release: 0 @@ -32034,10 +32038,10 @@ VERBOSE=false %{_texmfdistdir}/texconfig/update || : 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 + head -n 1 %{buildroot}/$scr | grep -q python%python3_bin_suffix && continue ed %{buildroot}/${scr} <<-'EOF' 1 - s@python@python3@ + g/python/s@python[23]\?[^\s]*@python%python3_bin_suffix@ . w q @@ -32050,6 +32054,7 @@ VERBOSE=false %{_texmfdistdir}/texconfig/update || : ed %{buildroot}/${scr} <<-'EOF' 1 s@/env[[:blank:]]\+@/@ + g/python/s@python[23]\?[^\s]*@python%python3_bin_suffix@ . w q