More fine tuning to catch all python3 shebangs

OBS-URL: https://build.opensuse.org/package/show/Publishing:TeXLive/texlive-specs-a?expand=0&rev=136
This commit is contained in:
Dr. Werner Fink 2024-07-03 19:26:18 +00:00 committed by Git OBS Bridge
parent 76adc9953f
commit 9fee8f3cd2
2 changed files with 10 additions and 4 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Jul 3 08:09:23 UTC 2024 - Dr. Werner Fink <werner@suse.de>
- More fine tuning to catch all python3 shebangs
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jun 27 13:38:11 UTC 2024 - Dr. Werner Fink <werner@suse.de> Thu Jun 27 13:38:11 UTC 2024 - Dr. Werner Fink <werner@suse.de>

View File

@ -1,5 +1,5 @@
# #
# spec file for package texlive-specs-a.spec.new # spec file for package texlive-specs-a.spec
# #
# Copyright (c) 2024 SUSE LLC # Copyright (c) 2024 SUSE LLC
# #
@ -14,12 +14,14 @@
# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Please submit bugfixes or comments via https://bugs.opensuse.org/
# #
##### WARNING: Please do not edit this auto generated spec file.
#
%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 215 %define texlive_noarch 216
%define biber_version 2.19 %define biber_version 2.19
#!BuildIgnore: texlive #!BuildIgnore: texlive
@ -32041,7 +32043,7 @@ VERBOSE=false %{_texmfdistdir}/texconfig/update || :
head -n 1 %{buildroot}/$scr | grep -q python%python3_bin_suffix && continue head -n 1 %{buildroot}/$scr | grep -q python%python3_bin_suffix && continue
ed %{buildroot}/${scr} <<-'EOF' ed %{buildroot}/${scr} <<-'EOF'
1 1
g/python/s@python[23]\?[^\s]*@python%python3_bin_suffix@ s@python[23]\?[^\s]*@python%python3_bin_suffix@
. .
w w
q q
@ -32054,7 +32056,6 @@ 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