Hello community, here is the log from the commit of package python-passa for openSUSE:Factory checked in at 2020-05-26 17:16:42 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-passa (Old) and /work/SRC/openSUSE:Factory/.python-passa.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-passa" Tue May 26 17:16:42 2020 rev:4 rq:807647 version:0.3.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-passa/python-passa.changes 2020-01-13 22:21:33.946519381 +0100 +++ /work/SRC/openSUSE:Factory/.python-passa.new.2738/python-passa.changes 2020-05-26 17:17:44.215770449 +0200 @@ -1,0 +2,5 @@ +Wed May 20 07:26:06 UTC 2020 - Petr Gajdos <[email protected]> + +- %python3_only -> %python_alternative + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-passa.spec ++++++ --- /var/tmp/diff_new_pack.EZK9u8/_old 2020-05-26 17:17:46.195774741 +0200 +++ /var/tmp/diff_new_pack.EZK9u8/_new 2020-05-26 17:17:46.199774750 +0200 @@ -38,6 +38,8 @@ Requires: python-resolvelib >= 0.2.1 Requires: python-six Requires: python-vistir >= 0.1.4 +Requires(post): update-alternatives +Requires(postun): update-alternatives BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module appdirs} @@ -65,15 +67,22 @@ %install %python_install +%python_clone -a %{buildroot}%{_bindir}/passa %python_expand %fdupes %{buildroot}%{$python_sitelib} %check %pytest +%post +%python_install_alternative passa + +%postun +%python_uninstall_alternative passa + %files %{python_files} %doc CHANGELOG.rst README.rst %license LICENSE -%python3_only %{_bindir}/passa +%python_alternative %{_bindir}/passa %{python_sitelib}/* %changelog
