Hello community, here is the log from the commit of package python-zc.buildout for openSUSE:Factory checked in at 2020-05-16 22:27:08 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-zc.buildout (Old) and /work/SRC/openSUSE:Factory/.python-zc.buildout.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-zc.buildout" Sat May 16 22:27:08 2020 rev:14 rq:805895 version:2.13.3 Changes: -------- --- /work/SRC/openSUSE:Factory/python-zc.buildout/python-zc.buildout.changes 2020-03-09 18:34:15.074022312 +0100 +++ /work/SRC/openSUSE:Factory/.python-zc.buildout.new.2738/python-zc.buildout.changes 2020-05-16 22:27:10.317376275 +0200 @@ -1,0 +2,5 @@ +Fri May 15 12:37:32 UTC 2020 - Petr Gajdos <pgaj...@suse.com> + +- %python3_only -> %python_alternative + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-zc.buildout.spec ++++++ --- /var/tmp/diff_new_pack.yMABZW/_old 2020-05-16 22:27:11.125377933 +0200 +++ /var/tmp/diff_new_pack.yMABZW/_new 2020-05-16 22:27:11.125377933 +0200 @@ -30,6 +30,8 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-setuptools +Requires(post): update-alternatives +Requires(postun): update-alternatives Provides: python-zc_buildout = %{version} Obsoletes: python-zc_buildout < %{version} BuildArch: noarch @@ -59,16 +61,23 @@ %install %python_install +%python_clone -a %{buildroot}%{_bindir}/buildout %python_expand %fdupes %{buildroot}%{$python_sitelib}/zc/buildout %python_expand %fdupes %{buildroot}%{$python_sitelib}/zc.buildout-2.9.5-py%{$python_version}.egg-info #%%check #%%python_exec setup.py test +%post +%python_install_alternative buildout + +%postun +%python_uninstall_alternative buildout + %files %{python_files} %doc README.rst CHANGES.rst COPYRIGHT.txt DEVELOPERS.txt %license LICENSE.txt %{python_sitelib}/* -%python3_only %{_bindir}/buildout +%python_alternative %{_bindir}/buildout %changelog