Hello community, here is the log from the commit of package python-hatch for openSUSE:Leap:15.2 checked in at 2020-05-28 20:09:18 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/python-hatch (Old) and /work/SRC/openSUSE:Leap:15.2/.python-hatch.new.3606 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-hatch" Thu May 28 20:09:18 2020 rev:3 rq:809070 version:0.23.0 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/python-hatch/python-hatch.changes 2020-04-14 14:21:36.425302521 +0200 +++ /work/SRC/openSUSE:Leap:15.2/.python-hatch.new.3606/python-hatch.changes 2020-05-28 20:09:19.882851699 +0200 @@ -1,0 +2,5 @@ +Mon May 25 10:59:15 UTC 2020 - Petr Gajdos <[email protected]> + +- %python3_only -> %python_alternative + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-hatch.spec ++++++ --- /var/tmp/diff_new_pack.t9j2pN/_old 2020-05-28 20:09:20.606853853 +0200 +++ /var/tmp/diff_new_pack.t9j2pN/_new 2020-05-28 20:09:20.610853865 +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
