Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-calmjs for openSUSE:Factory checked in at 2025-06-17 18:23:37 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-calmjs (Old) and /work/SRC/openSUSE:Factory/.python-calmjs.new.19631 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-calmjs" Tue Jun 17 18:23:37 2025 rev:13 rq:1286313 version:3.4.4 Changes: -------- --- /work/SRC/openSUSE:Factory/python-calmjs/python-calmjs.changes 2025-01-28 15:00:27.665239175 +0100 +++ /work/SRC/openSUSE:Factory/.python-calmjs.new.19631/python-calmjs.changes 2025-06-17 18:24:29.231957672 +0200 @@ -1,0 +2,5 @@ +Tue Jun 17 09:24:11 UTC 2025 - Markéta Machová <mmach...@suse.com> + +- Convert to libalternatives + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-calmjs.spec ++++++ --- /var/tmp/diff_new_pack.IWguOS/_old 2025-06-17 18:24:30.051991770 +0200 +++ /var/tmp/diff_new_pack.IWguOS/_new 2025-06-17 18:24:30.055991937 +0200 @@ -16,6 +16,7 @@ # +%bcond_without libalternatives %{?sle15_python_module_pythons} Name: python-calmjs Version: 3.4.4 @@ -31,13 +32,13 @@ BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} +BuildRequires: alts BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: alts Requires: python-calmjs.parse >= 1.0.0 Requires: python-calmjs.types Requires: python-setuptools -Requires(post): update-alternatives -Requires(postun): update-alternatives BuildArch: noarch # SECTION test requirements BuildRequires: nodejs-common @@ -74,11 +75,8 @@ # DistLoggerTestCase is not working correctly in obs build environment %pytest -v --pyargs calmjs.tests -k 'not DistLoggerTestCase' -%post -%python_install_alternative calmjs - -%postun -%python_uninstall_alternative calmjs +%pre +%python_libalternatives_reset_alternative calmjs %files %{python_files} %license LICENSE