Accepting request 1185296 from Publishing:TeXLive
Catch all python3 shebangs for boo#1212476 OBS-URL: https://build.opensuse.org/request/show/1185296 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/texlive-specs-a?expand=0&rev=54
This commit is contained in:
commit
268666dec9
@ -1,3 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
- Add fix for bug boo#1212476 -- fix python shebang
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 20 09:19:21 UTC 2024 - Dr. Werner Fink <werner@suse.de>
|
||||
|
||||
|
@ -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
|
||||
#
|
||||
@ -14,12 +14,14 @@
|
||||
|
||||
# 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_previous 2022
|
||||
%define texlive_release 20240311
|
||||
%define texlive_noarch 213
|
||||
%define texlive_noarch 216
|
||||
%define biber_version 2.19
|
||||
|
||||
#!BuildIgnore: texlive
|
||||
@ -55,6 +57,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 +32040,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@
|
||||
s@python[23]\?[^\s]*@python%python3_bin_suffix@
|
||||
.
|
||||
w
|
||||
q
|
||||
|
Loading…
Reference in New Issue
Block a user