Hello community, here is the log from the commit of package python-stomp.py for openSUSE:Factory checked in at 2020-05-20 18:44:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-stomp.py (Old) and /work/SRC/openSUSE:Factory/.python-stomp.py.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-stomp.py" Wed May 20 18:44:23 2020 rev:8 rq:807157 version:6.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-stomp.py/python-stomp.py.changes 2020-03-01 21:28:19.344594064 +0100 +++ /work/SRC/openSUSE:Factory/.python-stomp.py.new.2738/python-stomp.py.changes 2020-05-20 18:45:14.977253661 +0200 @@ -1,0 +2,5 @@ +Tue May 19 08:03:05 UTC 2020 - Petr Gajdos <pgaj...@suse.com> + +- %python3_only -> %python_alternative + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-stomp.py.spec ++++++ --- /var/tmp/diff_new_pack.dktZaI/_old 2020-05-20 18:45:17.321258926 +0200 +++ /var/tmp/diff_new_pack.dktZaI/_new 2020-05-20 18:45:17.329258944 +0200 @@ -30,6 +30,8 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-docopt >= 0.6.2 +Requires(post): update-alternatives +Requires(postun): update-alternatives BuildArch: noarch %python_subpackages @@ -45,12 +47,19 @@ %install %python_install +%python_clone -a %{buildroot}%{_bindir}/stomp %python_expand %fdupes %{buildroot}%{$python_sitelib} +%post +%python_install_alternative stomp + +%postun +%python_uninstall_alternative stomp + %files %{python_files} %doc README CHANGELOG %license LICENSE %{python_sitelib}/* -%python3_only %{_bindir}/stomp +%python_alternative %{_bindir}/stomp %changelog