Hello community, here is the log from the commit of package python-cpplint for openSUSE:Factory checked in at 2020-05-28 09:19:45 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-cpplint (Old) and /work/SRC/openSUSE:Factory/.python-cpplint.new.3606 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-cpplint" Thu May 28 09:19:45 2020 rev:3 rq:809606 version:1.4.5 Changes: -------- --- /work/SRC/openSUSE:Factory/python-cpplint/python-cpplint.changes 2020-04-01 19:20:57.567601874 +0200 +++ /work/SRC/openSUSE:Factory/.python-cpplint.new.3606/python-cpplint.changes 2020-05-28 09:19:47.241260253 +0200 @@ -1,0 +2,5 @@ +Wed May 27 09:36:50 UTC 2020 - Petr Gajdos <[email protected]> + +- %python3_only -> %python_alternative + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-cpplint.spec ++++++ --- /var/tmp/diff_new_pack.LKFqEo/_old 2020-05-28 09:19:47.805261285 +0200 +++ /var/tmp/diff_new_pack.LKFqEo/_new 2020-05-28 09:19:47.809261293 +0200 @@ -29,6 +29,8 @@ BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires(post): update-alternatives +Requires(postun): update-alternatives BuildArch: noarch %python_subpackages @@ -51,15 +53,22 @@ %install %python_install +%python_clone -a %{buildroot}%{_bindir}/cpplint %python_expand %fdupes %{buildroot}%{$python_sitelib} %check %pytest +%post +%python_install_alternative cpplint + +%postun +%python_uninstall_alternative cpplint + %files %{python_files} %license LICENSE %doc README.rst -%python3_only %{_bindir}/cpplint +%python_alternative %{_bindir}/cpplint %{python_sitelib}/* %changelog
