Hello community,
here is the log from the commit of package python-moksha-common for
openSUSE:Leap:15.2 checked in at 2020-05-28 20:09:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-moksha-common (Old)
and /work/SRC/openSUSE:Leap:15.2/.python-moksha-common.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-moksha-common"
Thu May 28 20:09:56 2020 rev:12 rq:809218 version:1.2.5
Changes:
--------
---
/work/SRC/openSUSE:Leap:15.2/python-moksha-common/python-moksha-common.changes
2020-03-09 18:09:01.112994732 +0100
+++
/work/SRC/openSUSE:Leap:15.2/.python-moksha-common.new.3606/python-moksha-common.changes
2020-05-28 20:09:56.778961522 +0200
@@ -1,0 +2,5 @@
+Mon May 25 06:50:50 UTC 2020 - Petr Gajdos <[email protected]>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-moksha-common.spec ++++++
--- /var/tmp/diff_new_pack.pqROJB/_old 2020-05-28 20:09:57.142962606 +0200
+++ /var/tmp/diff_new_pack.pqROJB/_new 2020-05-28 20:09:57.146962618 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-moksha-common
#
-# 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
@@ -33,6 +33,8 @@
Requires: python-kitchen
Requires: python-pytz
Requires: python-six
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
BuildArch: noarch
%if %{with test}
BuildRequires: %{python_module decorator}
@@ -55,16 +57,23 @@
%install
%python_install
+%python_clone -a %{buildroot}%{_bindir}/moksha
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%if %{with test}
%check
%python_exec setup.py test
%endif
+%post
+%python_install_alternative moksha
+
+%postun
+%python_uninstall_alternative moksha
+
%files %{python_files}
%license COPYING
%doc AUTHORS README
-%python3_only %{_bindir}/moksha
+%python_alternative %{_bindir}/moksha
%{python_sitelib}/*
%changelog