Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-hatch for openSUSE:Factory checked in at 2025-07-10 22:13:51 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-hatch (Old) and /work/SRC/openSUSE:Factory/.python-hatch.new.7373 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-hatch" Thu Jul 10 22:13:51 2025 rev:18 rq:1291688 version:1.14.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-hatch/python-hatch.changes 2025-06-27 23:09:21.109250914 +0200 +++ /work/SRC/openSUSE:Factory/.python-hatch.new.7373/python-hatch.changes 2025-07-10 22:13:54.784118640 +0200 @@ -1,0 +2,5 @@ +Thu Jul 10 12:33:57 UTC 2025 - Markéta Machová <mmach...@suse.com> + +- Convert to libalternatives + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-hatch.spec ++++++ --- /var/tmp/diff_new_pack.kP5F02/_old 2025-07-10 22:13:55.372143097 +0200 +++ /var/tmp/diff_new_pack.kP5F02/_new 2025-07-10 22:13:55.372143097 +0200 @@ -24,6 +24,7 @@ %define psuffix %{nil} %bcond_with test %endif +%bcond_without libalternatives %{?sle15_python_module_pythons} Name: python-hatch%{psuffix} Version: 1.14.1 @@ -41,10 +42,10 @@ BuildRequires: %{python_module hatch-vcs >= 0.3} BuildRequires: %{python_module hatchling >= 1.26.3} BuildRequires: %{python_module pip} +BuildRequires: alts BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires(post): update-alternatives -Requires(postun): update-alternatives +Requires: alts Requires: git-core Requires: python-click >= 8.0.6 Requires: python-hatchling >= 1.21.0 @@ -135,11 +136,8 @@ %pytest -v -k "not ($donttest)" --ignore tests/cli/build/test_build.py %endif -%post -%python_install_alternative hatch - -%postun -%python_uninstall_alternative hatch +%pre +%python_libalternatives_reset_alternative hatch %if !%{with test} %files %{python_files}