Hello community,
here is the log from the commit of package python-moksha-hub for
openSUSE:Factory checked in at 2020-05-26 17:22:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-moksha-hub (Old)
and /work/SRC/openSUSE:Factory/.python-moksha-hub.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-moksha-hub"
Tue May 26 17:22:57 2020 rev:4 rq:808674 version:1.5.17
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-moksha-hub/python-moksha-hub.changes
2019-05-22 15:42:04.978427044 +0200
+++
/work/SRC/openSUSE:Factory/.python-moksha-hub.new.2738/python-moksha-hub.changes
2020-05-26 17:23:12.172475614 +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.zDNjIn/_old 2020-05-26 17:23:13.184477789 +0200
+++ /var/tmp/diff_new_pack.zDNjIn/_new 2020-05-26 17:23:13.184477789 +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