Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-celery for openSUSE:Factory checked in at 2025-06-26 11:39:04 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-celery (Old) and /work/SRC/openSUSE:Factory/.python-celery.new.7067 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-celery" Thu Jun 26 11:39:04 2025 rev:50 rq:1288522 version:5.5.3 Changes: -------- --- /work/SRC/openSUSE:Factory/python-celery/python-celery.changes 2025-06-16 11:13:07.676903242 +0200 +++ /work/SRC/openSUSE:Factory/.python-celery.new.7067/python-celery.changes 2025-06-26 11:40:18.356229342 +0200 @@ -1,0 +2,5 @@ +Wed Jun 25 11:54:05 UTC 2025 - Markéta Machová <mmach...@suse.com> + +- Convert to libalternatives + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-celery.spec ++++++ --- /var/tmp/diff_new_pack.QDCXwH/_old 2025-06-26 11:40:19.316269167 +0200 +++ /var/tmp/diff_new_pack.QDCXwH/_new 2025-06-26 11:40:19.316269167 +0200 @@ -26,21 +26,24 @@ %bcond_with test %endif %bcond_with ringdisabled +%bcond_without libalternatives %{?sle15_python_module_pythons} Name: python-celery%{psuffix} Version: 5.5.3 Release: 0 Summary: Distributed Task Queue module for Python License: BSD-3-Clause -URL: http://celeryproject.org +URL: https://celeryproject.org Source: https://files.pythonhosted.org/packages/source/c/celery/celery-%{version}.tar.gz Patch0: move-pytest-configuration-to-conftest.patch BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} +BuildRequires: alts BuildRequires: fdupes BuildRequires: netcfg BuildRequires: python-rpm-macros +Requires: alts Requires: python-billiard >= 4.1.0 Requires: python-click >= 8.0.3 Requires: python-click-didyoumean >= 0.0.3 @@ -51,8 +54,6 @@ Requires: python-python-dateutil Requires: python-tzdata Requires: python-vine >= 5.0.0 -Requires(post): update-alternatives -Requires(postun): update-alternatives Recommends: python-cryptography Recommends: python-curses Suggests: python-eventlet @@ -81,7 +82,6 @@ BuildRequires: %{python_module pytest-click} BuildRequires: %{python_module pytest-subtests} BuildRequires: %{python_module redis} - %if %{with ringdisabled} ExclusiveArch: do-not-build %endif @@ -122,11 +122,8 @@ %endif %if !%{with test} -%post -%python_install_alternative celery - -%postun -%python_uninstall_alternative celery +%pre +%python_libalternatives_reset_alternative celery %files %{python_files} %{python_sitelib}/celery