Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python313 for openSUSE:Factory checked in at 2025-02-03 21:40:34 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python313 (Old) and /work/SRC/openSUSE:Factory/.python313.new.2316 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python313" Mon Feb 3 21:40:34 2025 rev:17 rq:1241509 version:3.13.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python313/python313.changes 2025-01-23 17:57:28.208463211 +0100 +++ /work/SRC/openSUSE:Factory/.python313.new.2316/python313.changes 2025-02-03 21:40:35.863237869 +0100 @@ -1,0 +2,7 @@ +Mon Jan 27 09:09:00 UTC 2025 - Daniel Garcia <daniel.gar...@suse.com> + +- Configure externally_managed with a bcond + https://en.opensuse.org/openSUSE:Python:Externally_managed + bsc#1228165 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python313.spec ++++++ --- /var/tmp/diff_new_pack.7ceSZS/_old 2025-02-03 21:40:36.899280810 +0100 +++ /var/tmp/diff_new_pack.7ceSZS/_new 2025-02-03 21:40:36.899280810 +0100 @@ -1,7 +1,7 @@ # # spec file for package python313 # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -73,6 +73,14 @@ %endif %endif +# Only for Tumbleweed +# https://en.opensuse.org/openSUSE:Python:Externally_managed +%if 0%{?suse_version} > 1600 +%bcond_without externally_managed +%else +%bcond_with externally_managed +%endif + %define python_pkg_name python313 %if %{without GIL} %define python_pkg_name python313-nogil @@ -796,7 +804,7 @@ rm %{buildroot}%{_libdir}/pkgconfig/{python3,python3-embed}.pc %endif -%if %{suse_version} > 1550 +%if %{with externally_managed} # PEP-0668 mark this as a distro maintained python sed -e 's,__PYTHONPREFIX__,%{python_pkg_name},' -e 's,__PYTHON__,python%{python_version},' < %{SOURCE4} > %{buildroot}%{sitedir}/EXTERNALLY-MANAGED %endif @@ -998,7 +1006,7 @@ %{_mandir}/man1/python%{python_version}.1%{?ext_man} %endif -%if %{suse_version} > 1550 +%if %{with externally_managed} # PEP-0668 %{sitedir}/EXTERNALLY-MANAGED %endif