Hello community,
here is the log from the commit of package python-msm for openSUSE:Leap:15.2 checked in at 2020-06-01 23:03:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-msm (Old)
and /work/SRC/openSUSE:Leap:15.2/.python-msm.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-msm"
Mon Jun 1 23:03:00 2020 rev:5 rq:809168 version:0.8.5
Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-msm/python-msm.changes 2020-03-09 18:09:07.605004036 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.python-msm.new.3606/python-msm.changes 2020-06-01 23:03:01.246723334 +0200
@@ -1,0 +2,5 @@
+Mon May 25 06:50:53 UTC 2020 - Petr Gajdos
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-msm.spec ++++++
--- /var/tmp/diff_new_pack.7H1vxw/_old 2020-06-01 23:03:01.562724336 +0200
+++ /var/tmp/diff_new_pack.7H1vxw/_new 2020-06-01 23:03:01.566724349 +0200
@@ -48,6 +48,8 @@
Requires: python-requests
Requires: python-setuptools
Requires: python-typing
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
BuildArch: noarch
%python_subpackages
@@ -68,6 +70,7 @@
%install
%python_install
+%python_clone -a %{buildroot}%{_bindir}/msm
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -76,9 +79,15 @@
# run_pip calls pip to install some dependencies
%pytest --ignore tests/test_mycroft_skills_manager.py --ignore tests/test_skill_repo.py --ignore tests/test_main.py -k "not run_pip" tests
+%post
+%python_install_alternative msm
+
+%postun
+%python_uninstall_alternative msm
+
%files %{python_files}
%license LICENSE
-%python3_only %{_bindir}/msm
+%python_alternative %{_bindir}/msm
%{python_sitelib}/msm
%{python_sitelib}/msm-%{version}-py%{python_version}.egg-info