Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-nodeenv for openSUSE:Factory checked in at 2025-08-22 17:47:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-nodeenv (Old) and /work/SRC/openSUSE:Factory/.python-nodeenv.new.29662 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-nodeenv" Fri Aug 22 17:47:05 2025 rev:15 rq:1300759 version:1.9.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-nodeenv/python-nodeenv.changes 2025-07-17 17:17:34.584785176 +0200 +++ /work/SRC/openSUSE:Factory/.python-nodeenv.new.29662/python-nodeenv.changes 2025-08-22 17:47:24.174995311 +0200 @@ -1,0 +2,5 @@ +Thu Aug 21 10:00:55 UTC 2025 - Markéta Machová <[email protected]> + +- Convert to libalternatives on SLE-16-based and newer systems only + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-nodeenv.spec ++++++ --- /var/tmp/diff_new_pack.fypw13/_old 2025-08-22 17:47:24.687016384 +0200 +++ /var/tmp/diff_new_pack.fypw13/_new 2025-08-22 17:47:24.691016549 +0200 @@ -16,7 +16,11 @@ # +%if 0%{?suse_version} > 1500 %bcond_without libalternatives +%else +%bcond_with libalternatives +%endif %{?sle15allpythons} Name: python-nodeenv Version: 1.9.1 @@ -29,12 +33,17 @@ BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} -BuildRequires: alts BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: alts Requires: python-setuptools BuildArch: noarch +%if %{with libalternatives} +BuildRequires: alts +Requires: alts +%else +Requires(post): update-alternatives +Requires(postun): update-alternatives +%endif %python_subpackages %description @@ -55,6 +64,12 @@ # test_smoke is an integration test requiring network access. %pytest -k 'not test_smoke' +%post +%python_install_alternative nodeenv + +%postun +%python_uninstall_alternative nodeenv + %pre %python_libalternatives_reset_alternative nodeenv
