Hello community,

here is the log from the commit of package python-sphobjinv for 
openSUSE:Leap:15.2 checked in at 2020-05-23 16:06:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-sphobjinv (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.python-sphobjinv.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-sphobjinv"

Sat May 23 16:06:27 2020 rev:2 rq:808104 version:2.0.1

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-sphobjinv/python-sphobjinv.changes      
2020-03-27 16:48:13.607936943 +0100
+++ 
/work/SRC/openSUSE:Leap:15.2/.python-sphobjinv.new.2738/python-sphobjinv.changes
    2020-05-23 16:06:28.812932151 +0200
@@ -1,0 +2,5 @@
+Tue May 19 08:03:01 UTC 2020 - Petr Gajdos <[email protected]>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-sphobjinv.spec ++++++
--- /var/tmp/diff_new_pack.nQdL7O/_old  2020-05-23 16:06:29.112932795 +0200
+++ /var/tmp/diff_new_pack.nQdL7O/_new  2020-05-23 16:06:29.112932795 +0200
@@ -35,6 +35,8 @@
 Requires:       python-fuzzywuzzy >= 0.3
 Requires:       python-jsonschema >= 2.0
 Requires:       python-setuptools
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 BuildArch:      noarch
 # SECTION test requirements
 BuildRequires:  %{python_module attrs >= 17.4}
@@ -55,12 +57,19 @@
 
 %install
 %python_install
+%python_clone -a %{buildroot}%{_bindir}/sphobjinv
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
+%post
+%python_install_alternative sphobjinv
+
+%postun
+%python_uninstall_alternative sphobjinv
+
 %files %{python_files}
 %doc CHANGELOG.md README.rst
 %license LICENSE.txt
-%python3_only %{_bindir}/sphobjinv
+%python_alternative %{_bindir}/sphobjinv
 %{python_sitelib}/*
 
 %changelog


Reply via email to