Hello community,

here is the log from the commit of package python-sphobjinv for 
openSUSE:Factory checked in at 2020-05-20 18:44:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-sphobjinv (Old)
 and      /work/SRC/openSUSE:Factory/.python-sphobjinv.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-sphobjinv"

Wed May 20 18:44:07 2020 rev:2 rq:807153 version:2.0.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-sphobjinv/python-sphobjinv.changes        
2020-03-10 11:55:18.599724553 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-sphobjinv.new.2738/python-sphobjinv.changes  
    2020-05-20 18:44:58.477216593 +0200
@@ -1,0 +2,5 @@
+Tue May 19 08:03:01 UTC 2020 - Petr Gajdos <pgaj...@suse.com>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-sphobjinv.spec ++++++
--- /var/tmp/diff_new_pack.eAuuCE/_old  2020-05-20 18:44:59.513218920 +0200
+++ /var/tmp/diff_new_pack.eAuuCE/_new  2020-05-20 18:44:59.513218920 +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