Dr. Werner Fink 2024-06-28 07:43:22 +00:00 committed by Git OBS Bridge
parent a07ee04f34
commit 3cd616b058
2 changed files with 15 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jun 27 13:38:11 UTC 2024 - Dr. Werner Fink <werner@suse.de>
- Add fix for bug boo#1212476 -- fix python shebang
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Mar 20 09:19:21 UTC 2024 - Dr. Werner Fink <werner@suse.de> Wed Mar 20 09:19:21 UTC 2024 - Dr. Werner Fink <werner@suse.de>

View File

@ -19,7 +19,7 @@
%define texlive_version 2024 %define texlive_version 2024
%define texlive_previous 2022 %define texlive_previous 2022
%define texlive_release 20240311 %define texlive_release 20240311
%define texlive_noarch 213 %define texlive_noarch 215
%define biber_version 2.19 %define biber_version 2.19
#!BuildIgnore: texlive #!BuildIgnore: texlive
@ -55,6 +55,10 @@
%define _x11inc %{_includedir} %define _x11inc %{_includedir}
%define _appdefdir %{_x11data}/app-defaults %define _appdefdir %{_x11data}/app-defaults
%if ! %{defined python3_bin_suffix}
%global python3_bin_suffix 3
%endif
Name: texlive-specs-u Name: texlive-specs-u
Version: 2024 Version: 2024
Release: 0 Release: 0
@ -20383,6 +20387,7 @@ VERBOSE=false %{_texmfdistdir}/texconfig/update || :
ed %{buildroot}/${scr} <<-'EOF' ed %{buildroot}/${scr} <<-'EOF'
1 1
s@/env[[:blank:]]\+@/@ s@/env[[:blank:]]\+@/@
g/python/s@python[23]\?[^\s]*@python%python3_bin_suffix@
. .
w w
q q
@ -20405,6 +20410,7 @@ VERBOSE=false %{_texmfdistdir}/texconfig/update || :
ed %{buildroot}/${scr} <<-'EOF' ed %{buildroot}/${scr} <<-'EOF'
1 1
s@/env[[:blank:]]\+@/@ s@/env[[:blank:]]\+@/@
g/python/s@python[23]\?[^\s]*@python%python3_bin_suffix@
. .
w w
q q
@ -20528,10 +20534,10 @@ VERBOSE=false %{_texmfdistdir}/texconfig/update || :
for scr in %{_texmfdistdir}/doc/latex/scanpages/replicate.py for scr in %{_texmfdistdir}/doc/latex/scanpages/replicate.py
do do
test -e %{buildroot}/$scr || continue 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' ed %{buildroot}/${scr} <<-'EOF'
1 1
s@python@python3@ g/python/s@python[23]\?[^\s]*@python%python3_bin_suffix@
. .
w w
q q
@ -20544,6 +20550,7 @@ VERBOSE=false %{_texmfdistdir}/texconfig/update || :
ed %{buildroot}/${scr} <<-'EOF' ed %{buildroot}/${scr} <<-'EOF'
1 1
s@/env[[:blank:]]\+@/@ s@/env[[:blank:]]\+@/@
g/python/s@python[23]\?[^\s]*@python%python3_bin_suffix@
. .
w w
q q