Hello community, here is the log from the commit of package python-msm for openSUSE:Factory checked in at 2020-05-26 17:22:50 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-msm (Old) and /work/SRC/openSUSE:Factory/.python-msm.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-msm" Tue May 26 17:22:50 2020 rev:13 rq:808671 version:0.8.5 Changes: -------- --- /work/SRC/openSUSE:Factory/python-msm/python-msm.changes 2020-01-22 22:46:47.184591203 +0100 +++ /work/SRC/openSUSE:Factory/.python-msm.new.2738/python-msm.changes 2020-05-26 17:23:05.860462044 +0200 @@ -1,0 +2,5 @@ +Mon May 25 06:50:53 UTC 2020 - Petr Gajdos <[email protected]> + +- %python3_only -> %python_alternative + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-msm.spec ++++++ --- /var/tmp/diff_new_pack.okhG8v/_old 2020-05-26 17:23:06.772464005 +0200 +++ /var/tmp/diff_new_pack.okhG8v/_new 2020-05-26 17:23:06.776464014 +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
