Hello community, here is the log from the commit of package python-nox for openSUSE:Factory checked in at 2020-05-28 09:11:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-nox (Old) and /work/SRC/openSUSE:Factory/.python-nox.new.3606 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-nox" Thu May 28 09:11:40 2020 rev:4 rq:808044 version:2019.11.9 Changes: -------- --- /work/SRC/openSUSE:Factory/python-nox/python-nox.changes 2020-03-30 23:04:54.388227892 +0200 +++ /work/SRC/openSUSE:Factory/.python-nox.new.3606/python-nox.changes 2020-05-28 09:12:56.384549414 +0200 @@ -1,0 +2,5 @@ +Thu May 21 10:56:38 UTC 2020 - Petr Gajdos <[email protected]> + +- %python3_only -> %python_alternative + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-nox.spec ++++++ --- /var/tmp/diff_new_pack.Yhavre/_old 2020-05-28 09:12:58.028553388 +0200 +++ /var/tmp/diff_new_pack.Yhavre/_new 2020-05-28 09:12:58.032553397 +0200 @@ -35,6 +35,8 @@ Requires: python-py >= 1.4.0 Requires: python-setuptools Requires: python-virtualenv >= 14.0.0 +Requires(post): update-alternatives +Requires(postun): update-alternatives Suggests: python-Jinja2 Suggests: python-tox BuildArch: noarch @@ -64,16 +66,26 @@ %install %python_install +%python_clone -a %{buildroot}%{_bindir}/tox-to-nox +%python_clone -a %{buildroot}%{_bindir}/nox %python_expand %fdupes %{buildroot}%{$python_sitelib} %check %pytest +%post +%python_install_alternative tox-to-nox +%python_install_alternative nox + +%postun +%python_uninstall_alternative tox-to-nox +%python_uninstall_alternative nox + %files %{python_files} %doc README.rst %license LICENSE -%python3_only %{_bindir}/nox -%python3_only %{_bindir}/tox-to-nox +%python_alternative %{_bindir}/nox +%python_alternative %{_bindir}/tox-to-nox %{python_sitelib}/* %changelog
