Hello community, here is the log from the commit of package python-yacron for openSUSE:Factory checked in at 2020-05-16 22:27:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-yacron (Old) and /work/SRC/openSUSE:Factory/.python-yacron.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-yacron" Sat May 16 22:27:14 2020 rev:3 rq:805899 version:0.10.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-yacron/python-yacron.changes 2020-03-10 10:39:07.661554643 +0100 +++ /work/SRC/openSUSE:Factory/.python-yacron.new.2738/python-yacron.changes 2020-05-16 22:27:16.681389335 +0200 @@ -1,0 +2,5 @@ +Fri May 15 12:54:51 UTC 2020 - Petr Gajdos <pgaj...@suse.com> + +- %python3_only -> %python_alternative + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-yacron.spec ++++++ --- /var/tmp/diff_new_pack.J1nCTK/_old 2020-05-16 22:27:17.385390780 +0200 +++ /var/tmp/diff_new_pack.J1nCTK/_new 2020-05-16 22:27:17.385390780 +0200 @@ -37,6 +37,8 @@ Requires: python-sentry-sdk Requires: python-setuptools Requires: python-strictyaml >= 0.7.2 +Requires(post): update-alternatives +Requires(postun): update-alternatives BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module Jinja2} @@ -63,16 +65,23 @@ %install export LANG=en_US.UTF-8 %python_install +%python_clone -a %{buildroot}%{_bindir}/yacron %python_expand %fdupes %{buildroot}%{$python_sitelib} %check export LANG=en_US.UTF-8 %pytest +%post +%python_install_alternative yacron + +%postun +%python_uninstall_alternative yacron + %files %{python_files} %doc README.rst %license LICENSE -%python3_only %{_bindir}/yacron +%python_alternative %{_bindir}/yacron %{python_sitelib}/* %changelog