diff --git a/texlive-specs-u.changes b/texlive-specs-u.changes index b1dddb6..9d0636f 100644 --- a/texlive-specs-u.changes +++ b/texlive-specs-u.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-u.spec b/texlive-specs-u.spec index c858a75..d81fbe1 100644 --- a/texlive-specs-u.spec +++ b/texlive-specs-u.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-u Version: 2024 Release: 0 @@ -20383,6 +20387,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 @@ -20405,6 +20410,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 @@ -20528,10 +20534,10 @@ VERBOSE=false %{_texmfdistdir}/texconfig/update || : for scr in %{_texmfdistdir}/doc/latex/scanpages/replicate.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 @@ -20544,6 +20550,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