Hello community, here is the log from the commit of package python-lib3to6 for openSUSE:Factory checked in at 2020-05-26 17:23:29 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-lib3to6 (Old) and /work/SRC/openSUSE:Factory/.python-lib3to6.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-lib3to6" Tue May 26 17:23:29 2020 rev:3 rq:808685 version:202002.32 Changes: -------- --- /work/SRC/openSUSE:Factory/python-lib3to6/python-lib3to6.changes 2020-03-10 10:39:10.509556175 +0100 +++ /work/SRC/openSUSE:Factory/.python-lib3to6.new.2738/python-lib3to6.changes 2020-05-26 17:23:31.064516229 +0200 @@ -1,0 +2,5 @@ +Mon May 25 06:50:36 UTC 2020 - Petr Gajdos <[email protected]> + +- %python3_only -> %python_alternative + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-lib3to6.spec ++++++ --- /var/tmp/diff_new_pack.YY6kGo/_old 2020-05-26 17:23:31.664517519 +0200 +++ /var/tmp/diff_new_pack.YY6kGo/_new 2020-05-26 17:23:31.668517527 +0200 @@ -32,6 +32,8 @@ Requires: python-click Requires: python-pathlib2 Requires: python-typing +Requires(post): update-alternatives +Requires(postun): update-alternatives BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module astor} @@ -55,15 +57,22 @@ %install %python_install +%python_clone -a %{buildroot}%{_bindir}/lib3to6 %python_expand %fdupes %{buildroot}%{$python_sitelib} %check %python_exec setup.py pytest +%post +%python_install_alternative lib3to6 + +%postun +%python_uninstall_alternative lib3to6 + %files %{python_files} %doc CHANGELOG.md README.md %license LICENSE -%python3_only %{_bindir}/lib3to6 +%python_alternative %{_bindir}/lib3to6 %{python_sitelib}/* %changelog
