Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package texlive-specs-q for openSUSE:Factory 
checked in at 2024-07-05 19:44:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/texlive-specs-q (Old)
 and      /work/SRC/openSUSE:Factory/.texlive-specs-q.new.2080 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "texlive-specs-q"

Fri Jul  5 19:44:35 2024 rev:54 rq:1185312 version:unknown

Changes:
--------
--- /work/SRC/openSUSE:Factory/texlive-specs-q/texlive-specs-q.changes  
2024-03-22 15:24:51.614292413 +0100
+++ 
/work/SRC/openSUSE:Factory/.texlive-specs-q.new.2080/texlive-specs-q.changes    
    2024-07-05 19:47:01.921227786 +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-q.spec ++++++
--- /var/tmp/diff_new_pack.nlTe5I/_old  2024-07-05 19:47:11.649584733 +0200
+++ /var/tmp/diff_new_pack.nlTe5I/_new  2024-07-05 19:47:11.661585174 +0200
@@ -1,5 +1,5 @@
 #
-# spec file for package texlive-specs-q.spec.new
+# spec file for package texlive-specs-q.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-q
 Version:        2024
 Release:        0
@@ -42165,6 +42171,19 @@
     pushd %{buildroot}%{_datadir}/texlive/texmf-dist
        patch --reject-format=unified --quoting-style=literal -f -p1 -F0 -T < 
%{S:57}
     popd
+    # Correct shebang of python3 scripts if any
+    for scr in %{_texmfdistdir}/doc/latex/newcommand/newcommand.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/newcommand/newcommand.py
     do
@@ -43099,6 +43118,18 @@
     tar --use-compress-program=xz -xf %{S:275} -C 
%{buildroot}%{_datadir}/texlive/texmf-dist
     tar --use-compress-program=xz -xf %{S:276} -C 
%{buildroot}%{_datadir}/texlive/texmf-dist
     tar --use-compress-program=xz -xf %{S:277} -C 
%{buildroot}%{_datadir}/texlive/texmf-dist
+    # Extend python3 scripts with major version only if any
+    for scr in %{_texmfdistdir}/doc/luatex/opbible/txs-gen/maketxs.py
+    do
+       test -e %{buildroot}/$scr || continue
+       ed %{buildroot}/${scr} <<-'EOF'
+               1
+               s@python3@python%python3_bin_suffix@
+               .
+               w
+               q
+       EOF
+    done
     # Strip executable bit from non-scripts
     for txt in %{_texmfdistdir}/doc/luatex/opbible/txs-gen/mod2tex
     do
@@ -43169,6 +43200,18 @@
     tar --use-compress-program=xz -xf %{S:289} -C 
%{buildroot}%{_datadir}/texlive
     tar --use-compress-program=xz -xf %{S:290} -C 
%{buildroot}%{_datadir}/texlive
     tar --use-compress-program=xz -xf %{S:291} -C 
%{buildroot}%{_datadir}/texlive
+    # Extend python3 scripts with major version only if any
+    for scr in %{_texmfdistdir}/scripts/optexcount/optexcount
+    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/optexcount/optexcount
     do

Reply via email to