Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-neovim-remote for openSUSE:Factory checked in at 2021-02-02 14:24:51 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-neovim-remote (Old) and /work/SRC/openSUSE:Factory/.python-neovim-remote.new.28504 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-neovim-remote" Tue Feb 2 14:24:51 2021 rev:6 rq:868124 version:2.4.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-neovim-remote/python-neovim-remote.changes 2019-12-05 17:34:25.141447499 +0100 +++ /work/SRC/openSUSE:Factory/.python-neovim-remote.new.28504/python-neovim-remote.changes 2021-02-02 14:24:57.971325981 +0100 @@ -1,0 +2,5 @@ +Sun Jan 31 08:22:30 UTC 2021 - Matej Cepl <mc...@suse.com> + +- Switch to using update-alternatives(1) to avoid collisions. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-neovim-remote.spec ++++++ --- /var/tmp/diff_new_pack.4hsjB3/_old 2021-02-02 14:24:58.671327070 +0100 +++ /var/tmp/diff_new_pack.4hsjB3/_new 2021-02-02 14:24:58.671327070 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-neovim-remote # -# Copyright (c) 2019 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -26,7 +26,7 @@ License: MIT Group: Development/Languages/Python URL: https://github.com/mhinz/neovim-remote -Source0: https://files.pythonhosted.org/packages/source/n/%{modname}/%{modname}-%{version}.tar.gz +Source0: https://files.pythonhosted.org/packages/source/n/neovim-remote/%{modname}-%{version}.tar.gz BuildRequires: %{python_module neovim} BuildRequires: %{python_module psutil} BuildRequires: %{python_module pytest} @@ -34,8 +34,9 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-psutil +Requires(post): update-alternatives +Requires(postun):update-alternatives BuildArch: noarch - %python_subpackages %description @@ -54,6 +55,7 @@ %install %python_install +%python_clone -a %{buildroot}%{_bindir}/nvr %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -61,8 +63,14 @@ # diagnostic output. %python_expand PYTHONPATH=. py.test-%{$python_bin_suffix} -v tests +%post +%python_install_alternative nvr + +%postun +%python_uninstall_alternative nvr + %files %{python_files} -%{_bindir}/nvr +%python_alternative %{_bindir}/nvr %{python_sitelib}/* %changelog