Hello community, here is the log from the commit of package python-celery for openSUSE:Factory checked in at 2020-06-05 19:59:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-celery (Old) and /work/SRC/openSUSE:Factory/.python-celery.new.3606 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-celery" Fri Jun 5 19:59:21 2020 rev:32 rq:809824 version:4.4.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-celery/python-celery.changes 2020-05-28 09:05:56.851452233 +0200 +++ /work/SRC/openSUSE:Factory/.python-celery.new.3606/python-celery.changes 2020-06-05 19:59:22.231763585 +0200 @@ -1,0 +2,5 @@ +Wed May 27 09:36:39 UTC 2020 - Petr Gajdos <[email protected]> + +- %python3_only -> %python_alternative + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-celery.spec ++++++ --- /var/tmp/diff_new_pack.TqsCOk/_old 2020-06-05 19:59:23.583768261 +0200 +++ /var/tmp/diff_new_pack.TqsCOk/_new 2020-06-05 19:59:23.587768275 +0200 @@ -42,6 +42,8 @@ Requires: python-kombu >= 4.6.7 Requires: python-pytz >= 2016.7 Requires: python-vine >= 1.3.0 +Requires(post): update-alternatives +Requires(postun): update-alternatives Recommends: python-curses Recommends: python-pyOpenSSL Suggests: python-eventlet @@ -91,6 +93,7 @@ %install %if !%{with test} %python_install +%python_clone -a %{buildroot}%{_bindir}/celery %python_expand %fdupes %{buildroot}%{$python_sitelib} %endif @@ -101,11 +104,17 @@ %endif %if !%{with test} +%post +%python_install_alternative celery + +%postun +%python_uninstall_alternative celery + %files %{python_files} %{python_sitelib}/* %license LICENSE %doc README.rst TODO -%python3_only %{_bindir}/celery* +%python_alternative %{_bindir}/celery %endif %changelog
