Hello community,

here is the log from the commit of package python-moksha-hub for 
openSUSE:Leap:15.2 checked in at 2020-05-28 20:10:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-moksha-hub (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.python-moksha-hub.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-moksha-hub"

Thu May 28 20:10:54 2020 rev:13 rq:809541 version:1.5.17

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-moksha-hub/python-moksha-hub.changes    
2020-03-09 18:09:01.768995672 +0100
+++ 
/work/SRC/openSUSE:Leap:15.2/.python-moksha-hub.new.3606/python-moksha-hub.changes
  2020-05-28 20:10:55.415136055 +0200
@@ -1,0 +2,5 @@
+Mon May 25 06:50:51 UTC 2020 - Petr Gajdos <[email protected]>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-moksha-hub.spec ++++++
--- /var/tmp/diff_new_pack.PROIgo/_old  2020-05-28 20:10:55.711136936 +0200
+++ /var/tmp/diff_new_pack.PROIgo/_new  2020-05-28 20:10:55.711136936 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-moksha-hub
 #
-# Copyright (c) 2019 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
@@ -41,6 +41,8 @@
 Requires:       python-pyzmq
 Requires:       python-txWS
 Requires:       python-txZMQ
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 BuildArch:      noarch
 %python_subpackages
 
@@ -55,15 +57,22 @@
 
 %install
 %python_install
+%python_clone -a %{buildroot}%{_bindir}/moksha-hub
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
 %python_exec setup.py test
 
+%post
+%python_install_alternative moksha-hub
+
+%postun
+%python_uninstall_alternative moksha-hub
+
 %files %{python_files}
 %license COPYING
 %doc AUTHORS README
-%python3_only %{_bindir}/moksha-hub
+%python_alternative %{_bindir}/moksha-hub
 %{python_sitelib}/*
 
 %changelog


Reply via email to