Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-PTable for openSUSE:Factory checked in at 2021-01-20 18:29:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-PTable (Old) and /work/SRC/openSUSE:Factory/.python-PTable.new.28504 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-PTable" Wed Jan 20 18:29:09 2021 rev:2 rq:865006 version:0.9.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-PTable/python-PTable.changes 2020-05-12 22:31:10.159723782 +0200 +++ /work/SRC/openSUSE:Factory/.python-PTable.new.28504/python-PTable.changes 2021-01-20 18:29:26.879629022 +0100 @@ -1,0 +2,5 @@ +Wed Jan 20 12:09:31 UTC 2021 - John Vandenberg <jay...@gmail.com> + +- Use python_alternative, fixing multi Python 3 builds + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-PTable.spec ++++++ --- /var/tmp/diff_new_pack.JFjqLE/_old 2021-01-20 18:29:27.627629708 +0100 +++ /var/tmp/diff_new_pack.JFjqLE/_new 2021-01-20 18:29:27.627629708 +0100 @@ -43,17 +43,24 @@ %install %python_install +%python_clone -a %{buildroot}%{_bindir}/ptable %python_expand %fdupes %{buildroot}%{$python_sitelib} %check # No tests available in package, github has no tags +%post +%python_install_alternative ptable + +%postun +%python_uninstall_alternative ptable + %files %{python_files} %doc CHANGELOG README.rst %license COPYING %dir %{python_sitelib}/prettytable/ %dir %{python_sitelib}/prettytable/__pycache__/ -%python3_only %{_bindir}/ptable +%python_alternative %{_bindir}/ptable %{python_sitelib}/PTable-%{version}-py%{python_version}.egg-info/ %{python_sitelib}/prettytable/*.py %pycache_only %{python_sitelib}/prettytable/__pycache__/*.pyc