Hello community,
here is the log from the commit of package python-celerymon for
openSUSE:Factory checked in at 2020-06-10 00:44:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-celerymon (Old)
and /work/SRC/openSUSE:Factory/.python-celerymon.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-celerymon"
Wed Jun 10 00:44:24 2020 rev:10 rq:809823 version:1.0.3
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-celerymon/python-celerymon.changes
2018-12-13 19:49:12.712641409 +0100
+++
/work/SRC/openSUSE:Factory/.python-celerymon.new.3606/python-celerymon.changes
2020-06-10 00:44:28.074342414 +0200
@@ -1,0 +2,5 @@
+Wed May 27 09:36:42 UTC 2020 - Petr Gajdos <[email protected]>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-celerymon.spec ++++++
--- /var/tmp/diff_new_pack.56VFzl/_old 2020-06-10 00:44:28.938344571 +0200
+++ /var/tmp/diff_new_pack.56VFzl/_new 2020-06-10 00:44:28.942344582 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-celerymon
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -23,12 +23,14 @@
Summary: Real-time monitoring of Celery workers
License: BSD-2-Clause
Group: Development/Languages/Python
-URL: http://github.com/ask/celerymon/
+URL: https://github.com/ask/celerymon/
Source:
https://files.pythonhosted.org/packages/source/c/celerymon/celerymon-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: python-rpm-macros
Requires: python-celery
Requires: python-tornado
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
BuildArch: noarch
%python_subpackages
@@ -43,11 +45,18 @@
%install
%python_install
+%python_clone -a %{buildroot}%{_bindir}/celerymon
+
+%post
+%python_install_alternative celerymon
+
+%postun
+%python_uninstall_alternative celerymon
%files %{python_files}
%license LICENSE
%doc AUTHORS README
-%python3_only %{_bindir}/celerymon
+%python_alternative %{_bindir}/celerymon
%{python_sitelib}/*
%changelog