Hello community, here is the log from the commit of package python-hatch for openSUSE:Factory checked in at 2020-05-26 17:49:54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-hatch (Old) and /work/SRC/openSUSE:Factory/.python-hatch.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-hatch" Tue May 26 17:49:54 2020 rev:3 rq:808802 version:0.23.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-hatch/python-hatch.changes 2020-04-05 20:55:30.885311996 +0200 +++ /work/SRC/openSUSE:Factory/.python-hatch.new.2738/python-hatch.changes 2020-05-26 17:49:55.335959701 +0200 @@ -1,0 +2,5 @@ +Mon May 25 10:59:15 UTC 2020 - Petr Gajdos <pgaj...@suse.com> + +- %python3_only -> %python_alternative + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-hatch.spec ++++++ --- /var/tmp/diff_new_pack.zrJq0x/_old 2020-05-26 17:49:55.983961121 +0200 +++ /var/tmp/diff_new_pack.zrJq0x/_new 2020-05-26 17:49:55.987961130 +0200 @@ -64,6 +64,8 @@ Requires: python-userpath >= 1.3.0 Requires: python-virtualenv Requires: python-wheel >= 0.27.0 +Requires(post): update-alternatives +Requires(postun): update-alternatives BuildArch: noarch %python_subpackages @@ -80,6 +82,7 @@ %install %python_install +%python_clone -a %{buildroot}%{_bindir}/hatch %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -88,10 +91,16 @@ # test_list_success_1 randomly timeouts in OBS %pytest -k 'not test_list_success_1' +%post +%python_install_alternative hatch + +%postun +%python_uninstall_alternative hatch + %files %{python_files} %doc README.rst %license LICENSE-APACHE LICENSE-MIT -%python3_only %{_bindir}/hatch +%python_alternative %{_bindir}/hatch %{python_sitelib}/* %changelog