Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package texlive-specs-h for openSUSE:Factory
checked in at 2024-07-05 19:44:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/texlive-specs-h (Old)
and /work/SRC/openSUSE:Factory/.texlive-specs-h.new.2080 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "texlive-specs-h"
Fri Jul 5 19:44:23 2024 rev:54 rq:1185303 version:unknown
Changes:
--------
--- /work/SRC/openSUSE:Factory/texlive-specs-h/texlive-specs-h.changes
2024-03-22 15:21:51.911687067 +0100
+++
/work/SRC/openSUSE:Factory/.texlive-specs-h.new.2080/texlive-specs-h.changes
2024-07-05 19:45:32.693954537 +0200
@@ -1,0 +2,10 @@
+Wed Jul 3 08:09:23 UTC 2024 - Dr. Werner Fink <[email protected]>
+
+- More fine tuning to catch all python3 shebangs
+
+-------------------------------------------------------------------
+Thu Jun 27 13:38:11 UTC 2024 - Dr. Werner Fink <[email protected]>
+
+- Add fix for bug boo#1212476 -- fix python shebang
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ texlive-specs-h.spec ++++++
--- /var/tmp/diff_new_pack.0lD2ad/_old 2024-07-05 19:45:39.230194122 +0200
+++ /var/tmp/diff_new_pack.0lD2ad/_new 2024-07-05 19:45:39.238194416 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package texlive-specs-h.spec.new
+# spec file for package texlive-specs-h.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-h
Version: 2024
Release: 0
@@ -23763,6 +23769,18 @@
tar --use-compress-program=xz -xf %{S:4} -C
%{buildroot}%{_datadir}/texlive/texmf-dist
tar --use-compress-program=xz -xf %{S:5} -C %{buildroot}%{_datadir}/texlive
tar --use-compress-program=xz -xf %{S:6} -C %{buildroot}%{_datadir}/texlive
+ # Extend python3 scripts with major version only if any
+ for scr in %{_texmfdistdir}/scripts/dviasm/dviasm.py
+ do
+ test -e %{buildroot}/$scr || continue
+ ed %{buildroot}/${scr} <<-'EOF'
+ 1
+ s@python3@python%python3_bin_suffix@
+ .
+ w
+ q
+ EOF
+ done
# Avoid /usr/bin/env <prog>
for scr in %{_texmfdistdir}/scripts/dviasm/dviasm.py
do
@@ -23867,6 +23885,19 @@
pushd %{buildroot}%{_datadir}/texlive/texmf-dist
patch --reject-format=unified --quoting-style=literal -f -p1 -F0 -T <
%{S:52}
popd
+ # Correct shebang of python3 scripts if any
+ for scr in %{_texmfdistdir}/doc/latex/easyfloats/lexer/latex_atletter.py
+ do
+ test -e %{buildroot}/$scr || continue
+ head -n 1 %{buildroot}/$scr | grep -q python%python3_bin_suffix &&
continue
+ ed %{buildroot}/${scr} <<-'EOF'
+ 1
+ s@python[23]\?[^\s]*@python%python3_bin_suffix@
+ .
+ w
+ q
+ EOF
+ done
# Make possible scripts usable if any
for scr in %{_texmfdistdir}/doc/latex/easyfloats/lexer/latex_atletter.py
do
@@ -24051,6 +24082,19 @@
pushd %{buildroot}%{_datadir}/texlive/texmf-dist
patch --reject-format=unified --quoting-style=literal -f -p1 -F0 -T <
%{S:131}
popd
+ # Correct shebang of python3 scripts if any
+ for scr in %{_texmfdistdir}/doc/latex/ejpecp/getmref.py
+ do
+ test -e %{buildroot}/$scr || continue
+ head -n 1 %{buildroot}/$scr | grep -q python%python3_bin_suffix &&
continue
+ ed %{buildroot}/${scr} <<-'EOF'
+ 1
+ s@python[23]\?[^\s]*@python%python3_bin_suffix@
+ .
+ w
+ q
+ EOF
+ done
# Make possible scripts usable if any
for scr in %{_texmfdistdir}/doc/latex/ejpecp/getmref.py
do
@@ -24181,6 +24225,18 @@
tar --use-compress-program=xz -xf %{S:183} -C
%{buildroot}%{_datadir}/texlive/texmf-dist
tar --use-compress-program=xz -xf %{S:184} -C
%{buildroot}%{_datadir}/texlive/texmf-dist
tar --use-compress-program=xz -xf %{S:185} -C
%{buildroot}%{_datadir}/texlive/texmf-dist
+ # Extend python3 scripts with major version only if any
+ for scr in %{_texmfdistdir}/doc/latex/emo/config/emo.py
+ do
+ test -e %{buildroot}/$scr || continue
+ ed %{buildroot}/${scr} <<-'EOF'
+ 1
+ s@python3@python%python3_bin_suffix@
+ .
+ w
+ q
+ EOF
+ done
# Avoid /usr/bin/env <prog>
for scr in %{_texmfdistdir}/doc/latex/emo/config/emo.py
do
@@ -24239,6 +24295,19 @@
pushd %{buildroot}%{_datadir}/texlive/texmf-dist
patch --reject-format=unified --quoting-style=literal -f -p1 -F0 -T <
%{S:200}
popd
+ # Correct shebang of python3 scripts if any
+ for scr in %{_texmfdistdir}/doc/generic/enctex/unimap.py
+ do
+ test -e %{buildroot}/$scr || continue
+ head -n 1 %{buildroot}/$scr | grep -q python%python3_bin_suffix &&
continue
+ ed %{buildroot}/${scr} <<-'EOF'
+ 1
+ s@python[23]\?[^\s]*@python%python3_bin_suffix@
+ .
+ w
+ q
+ EOF
+ done
# Make possible scripts usable if any
for scr in %{_texmfdistdir}/doc/generic/enctex/unimap.py
do