Hello community,

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

Package is "python-pythonfinder"

Tue May 26 17:18:05 2020 rev:5 rq:807672 version:1.2.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pythonfinder/python-pythonfinder.changes  
2020-01-10 17:51:38.190129915 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-pythonfinder.new.2738/python-pythonfinder.changes
        2020-05-26 17:18:40.355891253 +0200
@@ -1,0 +2,5 @@
+Wed May 20 07:26:51 UTC 2020 - Petr Gajdos <[email protected]>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-pythonfinder.spec ++++++
--- /var/tmp/diff_new_pack.CrMhwH/_old  2020-05-26 17:18:41.491893695 +0200
+++ /var/tmp/diff_new_pack.CrMhwH/_new  2020-05-26 17:18:41.491893695 +0200
@@ -35,6 +35,8 @@
 Requires:       python-packaging
 Requires:       python-six
 Requires:       python-vistir >= 0.2.5
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 BuildArch:      noarch
 # SECTION test requirements
 BuildRequires:  %{python_module attrs}
@@ -66,6 +68,7 @@
 
 %install
 %python_install
+%python_clone -a %{buildroot}%{_bindir}/pyfinder
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
@@ -73,10 +76,16 @@
 # to modify read-only system image files.
 %pytest -k 'not (test_python_versions or test_shims_are_kept or 
test_shims_are_removed)'
 
+%post
+%python_install_alternative pyfinder
+
+%postun
+%python_uninstall_alternative pyfinder
+
 %files %{python_files}
 %doc CHANGELOG.rst README.rst
 %license LICENSE.txt
-%python3_only %{_bindir}/pyfinder
+%python_alternative %{_bindir}/pyfinder
 %{python_sitelib}/*
 
 %changelog


Reply via email to