Hello community, here is the log from the commit of package python-mailman for openSUSE:Factory checked in at 2020-05-26 17:23:48 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-mailman (Old) and /work/SRC/openSUSE:Factory/.python-mailman.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-mailman" Tue May 26 17:23:48 2020 rev:5 rq:808659 version:3.3.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-mailman/python-mailman.changes 2020-04-25 20:35:43.138936961 +0200 +++ /work/SRC/openSUSE:Factory/.python-mailman.new.2738/python-mailman.changes 2020-05-26 17:23:49.512555889 +0200 @@ -1,0 +2,5 @@ +Mon May 25 06:50:41 UTC 2020 - Petr Gajdos <[email protected]> + +- %python3_only -> %python_alternative + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-mailman.spec ++++++ --- /var/tmp/diff_new_pack.dykI7t/_old 2020-05-26 17:23:50.068557084 +0200 +++ /var/tmp/diff_new_pack.dykI7t/_new 2020-05-26 17:23:50.072557093 +0200 @@ -63,6 +63,8 @@ Requires: python-zope.configuration Requires: python-zope.event Requires: python-zope.interface >= 5.0 +Requires(post): update-alternatives +Requires(postun): update-alternatives Provides: mailman = %{version} BuildArch: noarch %if %{with test} @@ -124,6 +126,9 @@ %install %if !%{with test} %python_install +%python_clone -a %{buildroot}%{_bindir}/master +%python_clone -a %{buildroot}%{_bindir}/mailman +%python_clone -a %{buildroot}%{_bindir}/runner %python_expand %fdupes %{buildroot}%{$python_sitelib} %endif @@ -152,12 +157,22 @@ %endif %if !%{with test} +%post +%python_install_alternative master +%python_install_alternative mailman +%python_install_alternative runner + +%postun +%python_uninstall_alternative master +%python_uninstall_alternative mailman +%python_uninstall_alternative runner + %files %{python_files} %doc README.rst %license COPYING -%python3_only %{_bindir}/runner -%python3_only %{_bindir}/mailman -%python3_only %{_bindir}/master +%python_alternative %{_bindir}/runner +%python_alternative %{_bindir}/mailman +%python_alternative %{_bindir}/master %{python_sitelib}/* %endif
