Hello community, here is the log from the commit of package python-flit for openSUSE:Factory checked in at 2020-05-28 09:17:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-flit (Old) and /work/SRC/openSUSE:Factory/.python-flit.new.3606 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-flit" Thu May 28 09:17:09 2020 rev:2 rq:809376 version:1.3 Changes: -------- --- /work/SRC/openSUSE:Factory/python-flit/python-flit.changes 2019-08-13 13:14:25.329517389 +0200 +++ /work/SRC/openSUSE:Factory/.python-flit.new.3606/python-flit.changes 2020-05-28 09:17:11.544945754 +0200 @@ -1,0 +2,5 @@ +Tue May 26 06:34:17 UTC 2020 - Petr Gajdos <[email protected]> + +- %python3_only -> %python_alternative + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-flit.spec ++++++ --- /var/tmp/diff_new_pack.G5UnEB/_old 2020-05-28 09:17:12.008946849 +0200 +++ /var/tmp/diff_new_pack.G5UnEB/_new 2020-05-28 09:17:12.008946849 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-flit # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -39,6 +39,8 @@ Requires: python-docutils Requires: python-pytoml Requires: python-requests-download +Requires(post): update-alternatives +Requires(postun): update-alternatives BuildArch: noarch %if %{python3_version_nodots} < 36 BuildRequires: %{python_module zipfile36} @@ -61,6 +63,7 @@ %install %python_install +%python_clone -a %{buildroot}%{_bindir}/flit %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -68,10 +71,16 @@ # test_invalid_classifier requires internet %pytest -k 'not (test_build_sdist or test_invalid_classifier)' +%post +%python_install_alternative flit + +%postun +%python_uninstall_alternative flit + %files %{python_files} %doc README.rst %license LICENSE -%python3_only %{_bindir}/flit +%python_alternative %{_bindir}/flit %{python_sitelib}/* %changelog
