Hello community,
here is the log from the commit of package python-msk for openSUSE:Leap:15.2 checked in at 2020-06-01 23:03:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-msk (Old)
and /work/SRC/openSUSE:Leap:15.2/.python-msk.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-msk"
Mon Jun 1 23:03:01 2020 rev:4 rq:809171 version:0.3.14
Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-msk/python-msk.changes 2020-03-09 18:09:06.769002838 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.python-msk.new.3606/python-msk.changes 2020-06-01 23:03:01.714724818 +0200
@@ -1,0 +2,5 @@
+Mon May 25 06:50:52 UTC 2020 - Petr Gajdos
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-msk.spec ++++++
--- /var/tmp/diff_new_pack.KPq4Qo/_old 2020-06-01 23:03:02.030725821 +0200
+++ /var/tmp/diff_new_pack.KPq4Qo/_new 2020-06-01 23:03:02.030725821 +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