Hello community, here is the log from the commit of package python-nodeenv for openSUSE:Factory checked in at 2020-05-28 09:11:34 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-nodeenv (Old) and /work/SRC/openSUSE:Factory/.python-nodeenv.new.3606 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-nodeenv" Thu May 28 09:11:34 2020 rev:3 rq:808043 version:1.3.5 Changes: -------- --- /work/SRC/openSUSE:Factory/python-nodeenv/python-nodeenv.changes 2020-03-18 12:40:47.664780178 +0100 +++ /work/SRC/openSUSE:Factory/.python-nodeenv.new.3606/python-nodeenv.changes 2020-05-28 09:12:49.268532217 +0200 @@ -1,0 +2,5 @@ +Thu May 21 10:56:37 UTC 2020 - Petr Gajdos <[email protected]> + +- %python3_only -> %python_alternative + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-nodeenv.spec ++++++ --- /var/tmp/diff_new_pack.IwEn7c/_old 2020-05-28 09:12:52.560540173 +0200 +++ /var/tmp/diff_new_pack.IwEn7c/_new 2020-05-28 09:12:52.564540182 +0200 @@ -30,6 +30,8 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-setuptools +Requires(post): update-alternatives +Requires(postun): update-alternatives BuildArch: noarch %python_subpackages @@ -44,16 +46,23 @@ %install %python_install +%python_clone -a %{buildroot}%{_bindir}/nodeenv %python_expand %fdupes %{buildroot}%{$python_sitelib} %check # test_smoke is an integration test requiring network access. %pytest -k 'not test_smoke' +%post +%python_install_alternative nodeenv + +%postun +%python_uninstall_alternative nodeenv + %files %{python_files} %doc AUTHORS CHANGES README README.rst %license LICENSE -%python3_only %{_bindir}/nodeenv +%python_alternative %{_bindir}/nodeenv %{python_sitelib}/* %changelog
