Hello community, here is the log from the commit of package python-girder-client for openSUSE:Factory checked in at 2020-05-28 09:18:18 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-girder-client (Old) and /work/SRC/openSUSE:Factory/.python-girder-client.new.3606 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-girder-client" Thu May 28 09:18:18 2020 rev:5 rq:809370 version:3.0.8 Changes: -------- --- /work/SRC/openSUSE:Factory/python-girder-client/python-girder-client.changes 2020-02-11 22:26:14.611595124 +0100 +++ /work/SRC/openSUSE:Factory/.python-girder-client.new.3606/python-girder-client.changes 2020-05-28 09:18:20.873102058 +0200 @@ -1,0 +2,5 @@ +Tue May 26 06:34:23 UTC 2020 - Petr Gajdos <pgaj...@suse.com> + +- %python3_only -> %python_alternative + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-girder-client.spec ++++++ --- /var/tmp/diff_new_pack.Ac9jT4/_old 2020-05-28 09:18:21.885103911 +0200 +++ /var/tmp/diff_new_pack.Ac9jT4/_new 2020-05-28 09:18:21.889103918 +0200 @@ -33,6 +33,8 @@ Requires: python-requests >= 2.4.2 Requires: python-requests-toolbelt Requires: python-six +Requires(post): update-alternatives +Requires(postun): update-alternatives BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module click >= 6.7} @@ -58,12 +60,22 @@ %install %python_install +%python_clone -a %{buildroot}%{_bindir}/girder-client +%python_clone -a %{buildroot}%{_bindir}/girder-cli %python_expand %fdupes %{buildroot}%{$python_sitelib} +%post +%python_install_alternative girder-client +%python_install_alternative girder-cli + +%postun +%python_uninstall_alternative girder-client +%python_uninstall_alternative girder-cli + %files %{python_files} %doc README.rst -%python3_only %{_bindir}/girder-cli -%python3_only %{_bindir}/girder-client +%python_alternative %{_bindir}/girder-cli +%python_alternative %{_bindir}/girder-client %{python_sitelib}/* %changelog