Hello community,

here is the log from the commit of package python-msk for openSUSE:Factory 
checked in at 2020-05-26 17:22:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-msk (Old)
 and      /work/SRC/openSUSE:Factory/.python-msk.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-msk"

Tue May 26 17:22:53 2020 rev:6 rq:808672 version:0.3.14

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-msk/python-msk.changes    2020-01-22 
22:46:43.868589533 +0100
+++ /work/SRC/openSUSE:Factory/.python-msk.new.2738/python-msk.changes  
2020-05-26 17:23:08.744468244 +0200
@@ -1,0 +2,5 @@
+Mon May 25 06:50:52 UTC 2020 - Petr Gajdos <[email protected]>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-msk.spec ++++++
--- /var/tmp/diff_new_pack.mdpdyT/_old  2020-05-26 17:23:09.392469637 +0200
+++ /var/tmp/diff_new_pack.mdpdyT/_new  2020-05-26 17:23:09.392469637 +0200
@@ -33,6 +33,8 @@
 Requires:       python-GitPython
 Requires:       python-PyGithub
 Requires:       python-msm >= 0.5.13
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 BuildArch:      noarch
 %ifpython2
 Requires:       python-typing
@@ -52,12 +54,19 @@
 
 %install
 %python_install
+%python_clone -a %{buildroot}%{_bindir}/msk
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
+%post
+%python_install_alternative msk
+
+%postun
+%python_uninstall_alternative msk
+
 %files %{python_files}
 %license LICENSE
 %doc README.md
-%python3_only %{_bindir}/msk
+%python_alternative %{_bindir}/msk
 %{python_sitelib}/*
 
 %changelog


Reply via email to