Hello community,
here is the log from the commit of package python-vim-vint for openSUSE:Factory
checked in at 2020-05-19 14:46:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-vim-vint (Old)
and /work/SRC/openSUSE:Factory/.python-vim-vint.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-vim-vint"
Tue May 19 14:46:33 2020 rev:5 rq:806802 version:0.3.21
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-vim-vint/python-vim-vint.changes
2020-04-21 13:07:02.096377615 +0200
+++
/work/SRC/openSUSE:Factory/.python-vim-vint.new.2738/python-vim-vint.changes
2020-05-19 14:46:35.735828218 +0200
@@ -1,0 +2,5 @@
+Mon May 18 07:25:31 UTC 2020 - Petr Gajdos <[email protected]>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-vim-vint.spec ++++++
--- /var/tmp/diff_new_pack.aSBYq7/_old 2020-05-19 14:46:36.971830858 +0200
+++ /var/tmp/diff_new_pack.aSBYq7/_new 2020-05-19 14:46:36.983830884 +0200
@@ -40,6 +40,8 @@
Requires: python-PyYAML >= 3.11
Requires: python-ansicolor >= 0.2.4
Requires: python-chardet >= 2.3.0
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
BuildArch: noarch
%if %{with python2}
BuildRequires: python-enum34 >= 1.0.4
@@ -71,15 +73,22 @@
%install
%python_install
+%python_clone -a %{buildroot}%{_bindir}/vint
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python setup.py test
+%post
+%python_install_alternative vint
+
+%postun
+%python_uninstall_alternative vint
+
%files %{python_files}
%license LICENSE.txt
%doc README.rst
-%python3_only %{_bindir}/vint
+%python_alternative %{_bindir}/vint
%{python_sitelib}/*
%changelog