Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package matrix-synapse for openSUSE:Factory checked in at 2026-06-12 19:30:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/matrix-synapse (Old) and /work/SRC/openSUSE:Factory/.matrix-synapse.new.1981 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "matrix-synapse" Fri Jun 12 19:30:11 2026 rev:160 rq:1358985 version:1.154.0 Changes: -------- --- /work/SRC/openSUSE:Factory/matrix-synapse/matrix-synapse.changes 2026-06-05 15:02:25.921598381 +0200 +++ /work/SRC/openSUSE:Factory/.matrix-synapse.new.1981/matrix-synapse.changes 2026-06-12 19:31:53.181094474 +0200 @@ -1,0 +2,7 @@ +Fri Jun 12 13:08:47 UTC 2026 - Marcus Rueckert <[email protected]> + +- Fix patching of shebang lines and the service file to use the + proper versioned python binary instead of python3 +- disable poetry mode on 16.x + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ matrix-synapse.spec ++++++ --- /var/tmp/diff_new_pack.OUrLtg/_old 2026-06-12 19:31:55.021171279 +0200 +++ /var/tmp/diff_new_pack.OUrLtg/_new 2026-06-12 19:31:55.025171446 +0200 @@ -16,7 +16,11 @@ # +%if 0%{?suse_version} >= 1699 %bcond_without use_poetry_for_dependencies +%else +%bcond_with use_poetry_for_dependencies +%endif # NOTE: Keep this is in the same order as pyproject.toml. # keep in sync with poetry.lock @@ -199,6 +203,7 @@ %define use_python python311 %endif +%define python_binary %{_bindir}/python%{python_bin_suffix} %define pythons %{use_python} # These come from matrix-synapse's CONDITIONAL_REQUIREMENTS. @@ -428,10 +433,10 @@ sed -i '1s|^#!/usr/bin/env |#!/usr/bin/|' {} \; # Force the usage of the default python3 sys executable find ./ -type f -not -path './vendor/**' \ - -exec sed -i '1s|^#!/usr/bin/python.*$|#!%{__python3}|' {} \; + -exec sed -i '1s|^#!/usr/bin/python.*$|#!%{python_binary}|' {} \; # Update the python flavour in the service file. -sed -i 's|@PYTHON_FLAVOR@|%{__python3}|g' %{S:50} +sed -i 's|@PYTHON_FLAVOR@|%{python_binary}|g' %{S:50} %build export RUSTFLAGS="%{build_rustflags}"
